-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
Your Godot version: 4.2.2.stable.official.15073afe3
Issue description:
DUPLICATE_USE_INSTANTIATION is documented differently in the online docs and in the editor help. In my understanding, they even contradict each other.
Online docs:
DuplicateFlags DUPLICATE_USE_INSTANTIATION = 8
Duplicate using instancing.
An instance stays linked to the original so when the original changes, the instance changes too.
Editor docs:
● DUPLICATE_USE_INSTANTIATION = 8
Duplicate using PackedScene.instantiate(). If the node comes from a scene saved on disk, re-uses PackedScene.instantiate() as the base for the duplicated node and its children.
❓ Which documentation is the correct one? Does it make a difference whether we have a "simple" Node or a Node which resulted from PackedScene.instantiate()?
URL to the documentation page:
https://docs.godotengine.org/en/stable/classes/class_node.html#enum-node-duplicateflags
URL to the editor documentation:
https://github.com/godotengine/godot/blob/6118592c6d88350d01f74faff6fd49754f84a7d0/doc/classes/Node.xml#L1303
The editor's documentation was last updated here (this January): godotengine/godot#68560