Replicate load-as-placeholder state on node duplication
This commit is contained in:
parent
1cff9a2e49
commit
6aecf91e4f
@ -1986,6 +1986,7 @@ Node *Node::_duplicate(int p_flags, Map<const Node *, Node *> *r_duplimap) const
|
|||||||
#endif
|
#endif
|
||||||
node = res->instantiate(ges);
|
node = res->instantiate(ges);
|
||||||
ERR_FAIL_COND_V(!node, nullptr);
|
ERR_FAIL_COND_V(!node, nullptr);
|
||||||
|
node->set_scene_instance_load_placeholder(get_scene_instance_load_placeholder());
|
||||||
|
|
||||||
instantiated = true;
|
instantiated = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user