Merge pull request #98009 from TokageItLab/init-skel-skin

Fix initial skin update timing in Skeleton3D
This commit is contained in:
Clay John
2024-10-17 16:51:05 -07:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@ -326,6 +326,8 @@ void Skeleton3D::_notification(int p_what) {
#ifndef DISABLE_DEPRECATED
setup_simulator();
#endif // _DISABLE_DEPRECATED
update_flags = UPDATE_FLAG_POSE;
_notification(NOTIFICATION_UPDATE_SKELETON);
} break;
case NOTIFICATION_UPDATE_SKELETON: {
// Update bone transforms to apply unprocessed poses.