1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Double click on scene tree element to focus currently selected node

In 3D it will focus in the first viewport
Enable double click for trees
This commit is contained in:
Daniel J. Ramirez
2016-07-28 14:37:52 -05:00
parent 3cc08ab1f1
commit 70c9979cce
8 changed files with 167 additions and 81 deletions

View File

@@ -253,6 +253,9 @@ public:
void set_state(const Dictionary& p_state);
Dictionary get_state() const;
void reset();
void focus_selection();
Viewport *get_viewport_node() { return viewport; }