-fixes and more fixes to new scene system, seems stable now..

BUT DONT TRUST ME IT MAY STILL BREAK, USE WITH CARE!!
This commit is contained in:
reduz 2015-10-16 19:11:23 -03:00
parent 6b20ee4324
commit 078a474135
10 changed files with 210 additions and 27 deletions

View file

@ -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