You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +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:
@@ -352,6 +352,8 @@ class CanvasItemEditor : public VBoxContainer {
|
||||
void _viewport_input_event(const InputEvent& p_event);
|
||||
void _viewport_draw();
|
||||
|
||||
void _focus_selection(int p_op);
|
||||
|
||||
void _set_anchor(Control::AnchorType p_left,Control::AnchorType p_top,Control::AnchorType p_right,Control::AnchorType p_bottom);
|
||||
|
||||
HSplitContainer *palette_split;
|
||||
@@ -414,10 +416,12 @@ public:
|
||||
|
||||
Control *get_viewport_control() { return viewport; }
|
||||
|
||||
|
||||
bool get_remove_list(List<Node*> *p_list);
|
||||
void set_undo_redo(UndoRedo *p_undo_redo) {undo_redo=p_undo_redo; }
|
||||
void edit(CanvasItem *p_canvas_item);
|
||||
|
||||
void focus_selection();
|
||||
|
||||
CanvasItemEditor(EditorNode *p_editor);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user