summaryrefslogtreecommitdiff
path: root/editor/import
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-04-26 09:42:19 +0200
committerGitHub <noreply@github.com>2022-04-26 09:42:19 +0200
commit06c33cca18d81bc0976c512a0f6b608780fad958 (patch)
tree40375b6416a8372207054795cb6e24e33793a14c /editor/import
parente35ce448532b16021717aa94f7d988e2581d8ad1 (diff)
parent9c2ea7e296a603cba70e72b6a15fb3acd2403d32 (diff)
Merge pull request #60511 from akien-mga/readd-find_node
Diffstat (limited to 'editor/import')
-rw-r--r--editor/import/scene_import_settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/scene_import_settings.cpp b/editor/import/scene_import_settings.cpp
index 4e53a644ee..b08622b910 100644
--- a/editor/import/scene_import_settings.cpp
+++ b/editor/import/scene_import_settings.cpp
@@ -423,7 +423,7 @@ void SceneImportSettings::_update_view_gizmos() {
continue;
}
- TypedArray<Node> descendants = mesh_node->find_nodes("collider_view", "MeshInstance3D");
+ TypedArray<Node> descendants = mesh_node->find_children("collider_view", "MeshInstance3D");
CRASH_COND_MSG(descendants.is_empty(), "This is unreachable, since the collider view is always created even when the collision is not used! If this is triggered there is a bug on the function `_fill_scene`.");