summaryrefslogtreecommitdiff
path: root/scene/main/node.h
diff options
context:
space:
mode:
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 ec03fb19e8..828acb8de7 100644
--- a/scene/main/node.h
+++ b/scene/main/node.h
@@ -264,6 +264,8 @@ public:
static void set_human_readable_collision_renaming(bool p_enabled);
static void init_node_hrcr();
+ void force_parent_owned() { data.parent_owned=true; } //hack to avoid duplicate nodes
+
/* CANVAS */
Node();