summaryrefslogtreecommitdiff
path: root/scene/main/node.h
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2021-01-17 23:37:40 +0100
committerkobewi <kobewi4e@gmail.com>2021-01-17 23:37:40 +0100
commit05f29b16b62bd71148f4144a4f1a6b8399501b8f (patch)
tree686d6cfec0879708cc040e5a697c36a6e6d3e10a /scene/main/node.h
parent49b5776e8bd62b4bfb6511cca770611b6a3062e4 (diff)
Change how editable children data is stored
Co-authored-by: hilfazer <az13337@gmail.com>
Diffstat (limited to 'scene/main/node.h')
-rw-r--r--scene/main/node.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/scene/main/node.h b/scene/main/node.h
index fc7590c5a4..a0dca75791 100644
--- a/scene/main/node.h
+++ b/scene/main/node.h
@@ -88,8 +88,6 @@ private:
Ref<SceneState> instance_state;
Ref<SceneState> inherited_state;
- HashMap<NodePath, int> editable_instances;
-
Node *parent = nullptr;
Node *owner = nullptr;
Vector<Node *> children;
@@ -136,6 +134,7 @@ private:
bool use_placeholder = false;
bool display_folded = false;
+ bool editable_instance = false;
mutable NodePath *path_cache = nullptr;
@@ -325,8 +324,6 @@ public:
void set_editable_instance(Node *p_node, bool p_editable);
bool is_editable_instance(const Node *p_node) const;
- void set_editable_instances(const HashMap<NodePath, int> &p_editable_instances);
- HashMap<NodePath, int> get_editable_instances() const;
/* NOTIFICATIONS */