Skip to content

Commit

Permalink
Merge pull request godotengine#97489 from TokageItLab/deferred-skin-r…
Browse files Browse the repository at this point in the history
…egistration

Move skin registration process into deferred on ready
  • Loading branch information
akien-mga committed Sep 27, 2024
2 parents 58ec7a9 + 2eb069f commit ab1f55e
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 ab1f55e

Please sign in to comment.