From 6a0d47f34cdbbcfcf19eaa79de410814c841ce21 Mon Sep 17 00:00:00 2001 From: George Marques Date: Fri, 16 Sep 2016 15:02:01 -0300 Subject: Add a function to plugin get the main screen parent - Fix a bug where the main screen button did not disappear when the plugin was deactivated. (cherry picked from commit 98e7c1edbab6605a7578643485e1e88b61fd83d7) --- tools/editor/editor_plugin.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/editor/editor_plugin.h') diff --git a/tools/editor/editor_plugin.h b/tools/editor/editor_plugin.h index 9a9c32357..e2722296e 100644 --- a/tools/editor/editor_plugin.h +++ b/tools/editor/editor_plugin.h @@ -97,6 +97,7 @@ public: void add_control_to_dock(DockSlot p_slot,Control *p_control); void remove_control_from_docks(Control *p_control); void remove_control_from_bottom_panel(Control *p_control); + Control* get_editor_viewport(); virtual Ref create_spatial_gizmo(Spatial* p_spatial); virtual bool forward_input_event(const InputEvent& p_event); -- cgit v1.2.3-70-g09d2