aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/spatial_editor_plugin.h
diff options
context:
space:
mode:
authorJuan Linietsky2016-10-05 01:26:35 -0300
committerJuan Linietsky2016-10-05 01:26:35 -0300
commitcf5778e51a883936ffc896231da8259e5ebabc0a (patch)
tree286f7eb7956a5c2c275276bbc9e3db5e3ff0730f /tools/editor/plugins/spatial_editor_plugin.h
parenta6e9dc615346f44b68b418483dd218d11ba4a674 (diff)
downloadgodot-cf5778e51a883936ffc896231da8259e5ebabc0a.tar.gz
godot-cf5778e51a883936ffc896231da8259e5ebabc0a.tar.zst
godot-cf5778e51a883936ffc896231da8259e5ebabc0a.zip
-Added ViewportContainer, this is the only way to make viewports show up in GUI now
-2D editing now seems to work -Added some functions and refactoring to Viewport
Diffstat (limited to '')
-rw-r--r--tools/editor/plugins/spatial_editor_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/plugins/spatial_editor_plugin.h b/tools/editor/plugins/spatial_editor_plugin.h
index 2a52eab77..4751cf707 100644
--- a/tools/editor/plugins/spatial_editor_plugin.h
+++ b/tools/editor/plugins/spatial_editor_plugin.h
@@ -430,7 +430,7 @@ private:
float settings_default_light_rot_x;
float settings_default_light_rot_y;
- Control *settings_light_base;
+ ViewportContainer *settings_light_base;
Viewport *settings_light_vp;
ColorPickerButton *settings_ambient_color;
Image settings_light_dir_image;