Skip to content

Commit ab1f55e

Browse files
committed
Merge pull request #97489 from TokageItLab/deferred-skin-registration
Move skin registration process into deferred on ready
2 parents 58ec7a9 + 2eb069f commit ab1f55e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scene/3d/mesh_instance_3d.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,8 @@ void MeshInstance3D::create_multiple_convex_collisions(const Ref<MeshConvexDecom
332332

333333
void MeshInstance3D::_notification(int p_what) {
334334
switch (p_what) {
335-
case NOTIFICATION_ENTER_TREE: {
336-
_resolve_skeleton_path();
335+
case NOTIFICATION_READY: {
336+
callable_mp(this, &MeshInstance3D::_resolve_skeleton_path).call_deferred();
337337
} break;
338338
case NOTIFICATION_TRANSLATION_CHANGED: {
339339
if (mesh.is_valid()) {

0 commit comments

Comments
 (0)