Added a Window node, and made it the scene root.
Still a lot of work to do.
This commit is contained in:
committed by
Juan Linietsky
parent
f8a79a97c7
commit
9e08742de8
@ -114,7 +114,7 @@ MaterialEditor::MaterialEditor() {
|
||||
vc->set_stretch(true);
|
||||
add_child(vc);
|
||||
vc->set_anchors_and_margins_preset(PRESET_WIDE);
|
||||
viewport = memnew(Viewport);
|
||||
viewport = memnew(SubViewport);
|
||||
Ref<World> world;
|
||||
world.instance();
|
||||
viewport->set_world(world); //use own world
|
||||
|
||||
Reference in New Issue
Block a user