aboutsummaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
authorPedro J. Estébanez2017-01-16 11:55:42 +0100
committerPedro J. Estébanez2017-01-16 11:56:00 +0100
commitb3d0596c4bea7d282e604a8dfbf8cf629ab7bcaf (patch)
treeaae50ba6af8e8dc55b594a56c7fdb07657bb2fdc /tools/editor
parent9c8ecb45f8516a2d45c18c50093887448d8a64e8 (diff)
downloadgodot-b3d0596c4bea7d282e604a8dfbf8cf629ab7bcaf.tar.gz
godot-b3d0596c4bea7d282e604a8dfbf8cf629ab7bcaf.tar.zst
godot-b3d0596c4bea7d282e604a8dfbf8cf629ab7bcaf.zip
Add EditorNode::set_visible_editor()
Cherry-picked from d8af6330e57b98f370ed56d891a6a6952957cfec
Diffstat (limited to '')
-rw-r--r--tools/editor/editor_node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/editor_node.h b/tools/editor/editor_node.h
index 84ad89fc0..a66ea1d8a 100644
--- a/tools/editor/editor_node.h
+++ b/tools/editor/editor_node.h
@@ -587,6 +587,7 @@ public:
EDITOR_SCRIPT
};
+ void set_visible_editor(EditorTable p_table) { _editor_select(p_table); }
static EditorNode* get_singleton() { return singleton; }