summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-04-05 12:39:30 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-04-05 12:39:30 -0300
commit9f33134c93ecbadda70e8eefc50563e29b2eb7f2 (patch)
tree299ded94fe74a61bf8094935d0f3283f6f30e435 /scene/main
parent35b84d2c85fd152bee05d7d5a05e20a5f602a285 (diff)
-Support for changing fonts
-Detect when free() might crash the project and throw error -fixed 2D Bounce in physics (3d still broken) -renamed “on_top” property to “behind_parent”, which makes more sense, old on_top remains there for compatibility but is invisible. -large amount of fixes
Diffstat (limited to 'scene/main')
-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();