Skip to content

Commit 2eb069f

Browse files
committed
Move skin registration process into deferred on ready
1 parent e2dd56b commit 2eb069f

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)