aboutsummaryrefslogtreecommitdiff
path: root/scene/main/node.h
diff options
context:
space:
mode:
authorJuan Linietsky2016-07-06 21:43:31 -0300
committerJuan Linietsky2016-07-06 21:43:31 -0300
commit17e4ead62a949e2a1568574228a157ea4b403d30 (patch)
tree7e6cada697e890f8ab6b61c46a45f84b6a0c4aa9 /scene/main/node.h
parenta78226c32ceb0614e079f5cdd5653af7be729dac (diff)
downloadgodot-17e4ead62a949e2a1568574228a157ea4b403d30.tar.gz
godot-17e4ead62a949e2a1568574228a157ea4b403d30.tar.zst
godot-17e4ead62a949e2a1568574228a157ea4b403d30.zip
Fix several bugs related to node duplication and signals, closes #5405
Diffstat (limited to 'scene/main/node.h')
-rw-r--r--scene/main/node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/main/node.h b/scene/main/node.h
index dcc3829d1..10cfc5f9e 100644
--- a/scene/main/node.h
+++ b/scene/main/node.h
@@ -138,6 +138,8 @@ private:
void _duplicate_signals(const Node* p_original,Node* p_copy) const;
void _duplicate_and_reown(Node* p_new_parent, const Map<Node*,Node*>& p_reown_map) const;
+ Node *_duplicate(bool p_use_instancing) const;
+
Array _get_children() const;
Array _get_groups() const;