mirror of
https://github.com/godotengine/godot.git
synced 2024-11-24 13:12:42 +00:00
Merge pull request #97489 from TokageItLab/deferred-skin-registration
Move skin registration process into deferred on ready
This commit is contained in:
commit
ab1f55e738
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user