1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Add saving flag hack to Skeleton and revert reset timing of animation

This commit is contained in:
Silc Lizard (Tokage) Renew
2025-01-26 00:57:37 +09:00
parent 1b7b009674
commit cb7085340e
10 changed files with 51 additions and 25 deletions

View File

@@ -180,13 +180,3 @@ Vector3 SpringBoneCollision3D::collide(const Transform3D &p_center, float p_bone
Vector3 SpringBoneCollision3D::_collide(const Transform3D &p_center, float p_bone_radius, float p_bone_length, const Vector3 &p_current) const {
return Vector3(0, 0, 0);
}
#ifdef TOOLS_ENABLED
void SpringBoneCollision3D::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_EDITOR_PRE_SAVE: {
sync_pose();
} break;
}
}
#endif // TOOLS_ENABLED