You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Replicate load-as-placeholder state on node duplication
This commit is contained in:
@@ -1986,6 +1986,7 @@ Node *Node::_duplicate(int p_flags, Map<const Node *, Node *> *r_duplimap) const
|
||||
#endif
|
||||
node = res->instantiate(ges);
|
||||
ERR_FAIL_COND_V(!node, nullptr);
|
||||
node->set_scene_instance_load_placeholder(get_scene_instance_load_placeholder());
|
||||
|
||||
instantiated = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user