mirror of
https://github.com/godotengine/godot.git
synced 2025-11-03 15:11:19 +00:00
Rename instance()->instantiate() when it's a verb
This commit is contained in:
parent
60dcc4f39c
commit
e28fd07b2b
371 changed files with 1318 additions and 1318 deletions
|
|
@ -110,7 +110,7 @@ void MeshEditor::_bind_methods() {
|
|||
MeshEditor::MeshEditor() {
|
||||
viewport = memnew(SubViewport);
|
||||
Ref<World3D> world_3d;
|
||||
world_3d.instance();
|
||||
world_3d.instantiate();
|
||||
viewport->set_world_3d(world_3d); //use own world
|
||||
add_child(viewport);
|
||||
viewport->set_disable_input(true);
|
||||
|
|
@ -182,6 +182,6 @@ void EditorInspectorPluginMesh::parse_begin(Object *p_object) {
|
|||
|
||||
MeshEditorPlugin::MeshEditorPlugin(EditorNode *p_node) {
|
||||
Ref<EditorInspectorPluginMesh> plugin;
|
||||
plugin.instance();
|
||||
plugin.instantiate();
|
||||
add_inspector_plugin(plugin);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue