summaryrefslogtreecommitdiffstats
path: root/editor/plugins/spatial_editor_plugin.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-10-31 14:23:25 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-10-31 14:23:47 -0300
commita4ea63737c9ed862c4a421d668942d6ffaf5a861 (patch)
treedb255867f3e033cd48e080340e9e8e2812badf45 /editor/plugins/spatial_editor_plugin.h
parent157fa55e34b9bf21a22876aecef89ed0a9491412 (diff)
downloadredot-engine-a4ea63737c9ed862c4a421d668942d6ffaf5a861.tar.gz
Ability to shrink 3D viewport by half
Diffstat (limited to 'editor/plugins/spatial_editor_plugin.h')
-rw-r--r--editor/plugins/spatial_editor_plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugins/spatial_editor_plugin.h b/editor/plugins/spatial_editor_plugin.h
index f2a9886f2a..c2b698068f 100644
--- a/editor/plugins/spatial_editor_plugin.h
+++ b/editor/plugins/spatial_editor_plugin.h
@@ -83,6 +83,7 @@ class SpatialEditorViewport : public Control {
VIEW_PERSPECTIVE,
VIEW_ENVIRONMENT,
VIEW_ORTHOGONAL,
+ VIEW_HALF_RESOLUTION,
VIEW_AUDIO_LISTENER,
VIEW_AUDIO_DOPPLER,
VIEW_GIZMOS,
@@ -120,6 +121,7 @@ private:
UndoRedo *undo_redo;
Button *preview_camera;
+ ViewportContainer *viewport_container;
MenuButton *view_menu;