You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
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