mirror of
https://github.com/godotengine/godot.git
synced 2026-03-03 20:55:48 +00:00
Rename instance()->instantiate() when it's a verb
This commit is contained in:
@@ -2535,7 +2535,7 @@ void EditorPropertyResource::_viewport_selected(const NodePath &p_path) {
|
||||
}
|
||||
|
||||
Ref<ViewportTexture> vt;
|
||||
vt.instance();
|
||||
vt.instantiate();
|
||||
vt->set_viewport_path_in_scene(get_tree()->get_edited_scene_root()->get_path_to(to_node));
|
||||
vt->setup_local_to_scene();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user