Skip to content

Commit

Permalink
Move skin registration process into deferred on ready
Browse files Browse the repository at this point in the history
  • Loading branch information
TokageItLab committed Sep 26, 2024
1 parent e2dd56b commit 2eb069f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scene/3d/mesh_instance_3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ void MeshInstance3D::create_multiple_convex_collisions(const Ref<MeshConvexDecom

void MeshInstance3D::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_ENTER_TREE: {
_resolve_skeleton_path();
case NOTIFICATION_READY: {
callable_mp(this, &MeshInstance3D::_resolve_skeleton_path).call_deferred();
} break;
case NOTIFICATION_TRANSLATION_CHANGED: {
if (mesh.is_valid()) {
Expand Down

0 comments on commit 2eb069f

Please sign in to comment.