aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/spatial_editor_plugin.h
diff options
context:
space:
mode:
authorrollenrolm2015-03-21 21:47:21 +0100
committerrollenrolm2015-03-21 21:47:21 +0100
commit4d30bb72412506871e8567dc736f9920a57d527a (patch)
tree37db481af4703b2e93fe795054d0ff2113907f01 /tools/editor/plugins/spatial_editor_plugin.h
parent40496dd76ae53c93ef5ea7e56671682a7cae9def (diff)
downloadgodot-4d30bb72412506871e8567dc736f9920a57d527a.tar.gz
godot-4d30bb72412506871e8567dc736f9920a57d527a.tar.zst
godot-4d30bb72412506871e8567dc736f9920a57d527a.zip
Fix issue #931: display current view name into editor's 3d scene viewports
Diffstat (limited to '')
-rw-r--r--tools/editor/plugins/spatial_editor_plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/plugins/spatial_editor_plugin.h b/tools/editor/plugins/spatial_editor_plugin.h
index 646a4d2d8..4d594d192 100644
--- a/tools/editor/plugins/spatial_editor_plugin.h
+++ b/tools/editor/plugins/spatial_editor_plugin.h
@@ -92,6 +92,7 @@ public:
};
private:
int index;
+ String name;
void _menu_option(int p_option);
Size2 prev_size;
@@ -110,6 +111,7 @@ private:
bool orthogonal;
float gizmo_scale;
+ void _update_name();
void _compute_edit(const Point2& p_point);
void _clear_selected();
void _select_clicked(bool p_append,bool p_single);