summaryrefslogtreecommitdiffstats
path: root/editor/plugins/material_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-03-27 08:44:44 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-03-27 16:26:34 +0100
commitd1acbbce7f123c2b5fccdefc6417787dc91b6ced (patch)
tree3143b3548ee2e46c4a56881f1284f962cc2ae878 /editor/plugins/material_editor_plugin.cpp
parentc3a760c5079670854b5f0c197c15218b1606bb2d (diff)
downloadredot-engine-d1acbbce7f123c2b5fccdefc6417787dc91b6ced.tar.gz
Rename more 2D and 3D nodes to follow convention
Rename editor plugins to match the new node names.
Diffstat (limited to 'editor/plugins/material_editor_plugin.cpp')
-rw-r--r--editor/plugins/material_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/material_editor_plugin.cpp b/editor/plugins/material_editor_plugin.cpp
index 9fe9675c69..8129b9bd86 100644
--- a/editor/plugins/material_editor_plugin.cpp
+++ b/editor/plugins/material_editor_plugin.cpp
@@ -115,7 +115,7 @@ MaterialEditor::MaterialEditor() {
add_child(vc);
vc->set_anchors_and_margins_preset(PRESET_WIDE);
viewport = memnew(SubViewport);
- Ref<World> world;
+ Ref<World3D> world;
world.instance();
viewport->set_world(world); //use own world
vc->add_child(viewport);