summaryrefslogtreecommitdiff
path: root/scene/main/node.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-02-21 14:39:34 +0100
committerGitHub <noreply@github.com>2021-02-21 14:39:34 +0100
commit6fed9eb28788efbf9f4dd589b7742f24a6afbfd7 (patch)
treeb4d8816d07b9c257bca2da204ad7433cb5987f37 /scene/main/node.h
parentff8a1fdc19842aaa52a23e303425f5a703e8317b (diff)
parent442e550114d3de9648b5b5788a174b876c32eb90 (diff)
Merge pull request #46279 from hilfazer/prevent_select_noneditable_nodes_in_editors
Prevent selecting hidden nodes in 3D and Canvas Item editors
Diffstat (limited to 'scene/main/node.h')
-rw-r--r--scene/main/node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/main/node.h b/scene/main/node.h
index b3979993e0..249a0ff86e 100644
--- a/scene/main/node.h
+++ b/scene/main/node.h
@@ -330,6 +330,7 @@ public:
void set_editable_instance(Node *p_node, bool p_editable);
bool is_editable_instance(const Node *p_node) const;
+ Node *get_deepest_editable_node(Node *p_start_node) const;
/* NOTIFICATIONS */