diff options
author | reduz <juan@okamstudio.com> | 2015-10-16 19:11:23 -0300 |
---|---|---|
committer | reduz <juan@okamstudio.com> | 2015-10-16 19:11:23 -0300 |
commit | 078a474135b47adb3cbdf414c737b77ee17fe596 (patch) | |
tree | b496b103491830f4e9339b9f25bd71f4dfdef184 /scene/main/node.h | |
parent | 6b20ee4324224d926a3eb43a59068c2cf12dc75e (diff) |
-fixes and more fixes to new scene system, seems stable now..
BUT DONT TRUST ME IT MAY STILL BREAK, USE WITH CARE!!
Diffstat (limited to 'scene/main/node.h')
-rw-r--r-- | scene/main/node.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/scene/main/node.h b/scene/main/node.h index 55557c6356..87fa4dd6ca 100644 --- a/scene/main/node.h +++ b/scene/main/node.h @@ -75,9 +75,6 @@ private: HashMap<NodePath,int> editable_instances; - Vector<StringName> instance_groups; - Vector<Connection> instance_connections; - Node *parent; Node *owner; Vector<Node*> children; // list of children @@ -111,6 +108,8 @@ private: bool parent_owned; bool in_constructor; + bool use_placeholder; + } data; @@ -241,6 +240,7 @@ public: void set_editable_instance(Node* p_node,bool p_editable); bool is_editable_instance(Node* p_node) const; + /* NOTIFICATIONS */ void propagate_notification(int p_notification); @@ -278,8 +278,8 @@ public: void set_scene_inherited_state(const Ref<SceneState>& p_state); Ref<SceneState> get_scene_inherited_state() const; - Vector<StringName> get_instance_groups() const; - Vector<Connection> get_instance_connections() const; + void set_scene_instance_load_placeholder(bool p_enable); + bool get_scene_instance_load_placeholder() const; static Vector<Variant> make_binds(VARIANT_ARG_LIST); @@ -322,6 +322,4 @@ public: typedef Set<Node*,Node::Comparator> NodeSet; - - #endif |