From 55f992942ce51c618cbc8bff4ae4340170afef0d Mon Sep 17 00:00:00 2001 From: Dmitry Koteroff Date: Sun, 19 Nov 2017 23:00:16 +0300 Subject: Add "View FPS" in 3D->Perspective's popup. "Fixes" to make it acceptable by clang-format. "Fixes" to make it acceptable by clang-format. --- editor/plugins/spatial_editor_plugin.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'editor/plugins/spatial_editor_plugin.h') diff --git a/editor/plugins/spatial_editor_plugin.h b/editor/plugins/spatial_editor_plugin.h index 0ef85b72d..4870e961a 100644 --- a/editor/plugins/spatial_editor_plugin.h +++ b/editor/plugins/spatial_editor_plugin.h @@ -88,6 +88,7 @@ class SpatialEditorViewport : public Control { VIEW_AUDIO_DOPPLER, VIEW_GIZMOS, VIEW_INFORMATION, + VIEW_FPS, VIEW_DISPLAY_NORMAL, VIEW_DISPLAY_WIREFRAME, VIEW_DISPLAY_OVERDRAW, @@ -138,6 +139,9 @@ private: PanelContainer *info; Label *info_label; + PanelContainer *fps; + Label *fps_label; + struct _RayResult { Spatial *item; -- cgit v1.2.3-70-g09d2