summaryrefslogtreecommitdiffstats
path: root/tools/editor/plugins/spatial_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-10-19 11:14:41 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-10-19 11:14:41 -0300
commit4428115916144b45c4697cd65d9c8c093631bec6 (patch)
treeafff5350ae57ba65b190f16b27db892173d9f43f /tools/editor/plugins/spatial_editor_plugin.cpp
parent1527cf8c0d17891dd0ebf99d484f83daa46eba3c (diff)
downloadredot-engine-4428115916144b45c4697cd65d9c8c093631bec6.tar.gz
Everything returning to normal in 3D, still a long way to go
-implemented the scene part of visual server and rasterizer, objects without lighting and material are rendererd only
Diffstat (limited to 'tools/editor/plugins/spatial_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/spatial_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/plugins/spatial_editor_plugin.cpp b/tools/editor/plugins/spatial_editor_plugin.cpp
index 55a4c6c934..38a7706acc 100644
--- a/tools/editor/plugins/spatial_editor_plugin.cpp
+++ b/tools/editor/plugins/spatial_editor_plugin.cpp
@@ -2349,6 +2349,7 @@ SpatialEditorViewport::SpatialEditorViewport(SpatialEditor *p_spatial_editor, Ed
spatial_editor=p_spatial_editor;
ViewportContainer *c=memnew(ViewportContainer);
+ c->set_stretch(true);
add_child(c);
c->set_area_as_parent_rect();
viewport = memnew( Viewport );