Core: Integrate Ref::instantiate where possible

This commit is contained in:
Thaddeus Crews 2024-06-09 15:21:41 -05:00
parent 0f5f3bc954
commit 925b690c98
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84
44 changed files with 81 additions and 81 deletions

View file

@ -922,7 +922,7 @@ Ref<EditorNode3DGizmo> Path3DGizmoPlugin::create_gizmo(Node3D *p_spatial) {
Path3D *path = Object::cast_to<Path3D>(p_spatial);
if (path) {
ref = Ref<Path3DGizmo>(memnew(Path3DGizmo(path, disk_size)));
ref.instantiate(path, disk_size);
}
return ref;