1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Rename ViewportContainer to SubViewportContainer

This commit is contained in:
Michael Alexsander
2020-04-01 15:28:09 -03:00
parent ff14d071cc
commit 0c6851ae53
13 changed files with 74 additions and 73 deletions

View File

@@ -31,7 +31,7 @@
#include "material_editor_plugin.h"
#include "editor/editor_scale.h"
#include "scene/gui/viewport_container.h"
#include "scene/gui/subviewport_container.h"
#include "scene/resources/particles_material.h"
#include "scene/resources/sky_material.h"
@@ -110,7 +110,7 @@ void MaterialEditor::_bind_methods() {
MaterialEditor::MaterialEditor() {
vc = memnew(ViewportContainer);
vc = memnew(SubViewportContainer);
vc->set_stretch(true);
add_child(vc);
vc->set_anchors_and_margins_preset(PRESET_WIDE);