Move skin registration process into deferred on ready
This commit is contained in:
parent
e2dd56bea7
commit
2eb069f40b
|
@ -332,8 +332,8 @@ void MeshInstance3D::create_multiple_convex_collisions(const Ref<MeshConvexDecom
|
||||||
|
|
||||||
void MeshInstance3D::_notification(int p_what) {
|
void MeshInstance3D::_notification(int p_what) {
|
||||||
switch (p_what) {
|
switch (p_what) {
|
||||||
case NOTIFICATION_ENTER_TREE: {
|
case NOTIFICATION_READY: {
|
||||||
_resolve_skeleton_path();
|
callable_mp(this, &MeshInstance3D::_resolve_skeleton_path).call_deferred();
|
||||||
} break;
|
} break;
|
||||||
case NOTIFICATION_TRANSLATION_CHANGED: {
|
case NOTIFICATION_TRANSLATION_CHANGED: {
|
||||||
if (mesh.is_valid()) {
|
if (mesh.is_valid()) {
|
||||||
|
|
Loading…
Reference in New Issue