diff options
| author | Dmitry Koteroff <vortex@verona.im> | 2017-11-19 23:00:16 +0300 |
|---|---|---|
| committer | Dmitry Koteroff <vortex@verona.im> | 2017-11-20 00:35:46 +0300 |
| commit | 55f992942ce51c618cbc8bff4ae4340170afef0d (patch) | |
| tree | e57fa451cdac38499b51c2127d55da53c591479f /editor/plugins/spatial_editor_plugin.h | |
| parent | 63283eca5542314ea5b71afa1fe39bd48c202a4d (diff) | |
| download | redot-engine-55f992942ce51c618cbc8bff4ae4340170afef0d.tar.gz | |
Add "View FPS" in 3D->Perspective's popup.
"Fixes" to make it acceptable by clang-format.
"Fixes" to make it acceptable by clang-format.
Diffstat (limited to 'editor/plugins/spatial_editor_plugin.h')
| -rw-r--r-- | editor/plugins/spatial_editor_plugin.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/plugins/spatial_editor_plugin.h b/editor/plugins/spatial_editor_plugin.h index 0ef85b72d9..4870e961a8 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; |
