aboutsummaryrefslogtreecommitdiff
path: root/editor/scene_tree_editor.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-07-15 01:23:10 -0300
committerJuan Linietsky2017-07-15 08:32:34 -0300
commit2e73be99d8d86d9dad7bcb99518a4d3cbb5c373c (patch)
treed863db50852afe5d4b0bc15b8452054498004cb1 /editor/scene_tree_editor.cpp
parente64b82ebfcc3475c7a7d2a9196bfe20d6c9e3614 (diff)
downloadgodot-2e73be99d8d86d9dad7bcb99518a4d3cbb5c373c.tar.gz
godot-2e73be99d8d86d9dad7bcb99518a4d3cbb5c373c.tar.zst
godot-2e73be99d8d86d9dad7bcb99518a4d3cbb5c373c.zip
Diffstat (limited to 'editor/scene_tree_editor.cpp')
-rw-r--r--editor/scene_tree_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_tree_editor.cpp b/editor/scene_tree_editor.cpp
index d12d8b552..94c94e126 100644
--- a/editor/scene_tree_editor.cpp
+++ b/editor/scene_tree_editor.cpp
@@ -161,7 +161,7 @@ bool SceneTreeEditor::_add_nodes(Node *p_node, TreeItem *p_parent) {
item->set_selectable(0, true);
if (can_rename) {
-#ifdef ENABLE_DEPRECATED
+#ifndef DISABLE_DEPRECATED
if (p_node->has_meta("_editor_collapsed")) {
//remove previous way of storing folding, which did not get along with scene inheritance and instancing
if ((bool)p_node->get_meta("_editor_collapsed"))