diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-06 15:17:43 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-06 15:17:43 +0100 |
commit | 42bbb20e06c00292ec3fbac397f3f468d6b0cc5c (patch) | |
tree | a14a218938fe5f90e7e0dfa9011e5ce19d290cd5 /scene | |
parent | c83695c0b5196504c6cc7acf0a99f5edbbd24d4b (diff) | |
parent | 3b6756b74578e15630473110453dc7d2506ea7ce (diff) |
Merge pull request #69666 from akien-mga/cleanup-skeleton-modification-register
Use `GDREGISTER_CLASS` macro for SkeletonModification classes
Diffstat (limited to 'scene')
-rw-r--r-- | scene/register_scene_types.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/scene/register_scene_types.cpp b/scene/register_scene_types.cpp index ee45a8ea6f..58147b159a 100644 --- a/scene/register_scene_types.cpp +++ b/scene/register_scene_types.cpp @@ -827,14 +827,14 @@ void register_scene_types() { GDREGISTER_CLASS(ConvexPolygonShape3D); GDREGISTER_CLASS(ConcavePolygonShape3D); - ClassDB::register_class<SkeletonModificationStack3D>(); - ClassDB::register_class<SkeletonModification3D>(); - ClassDB::register_class<SkeletonModification3DLookAt>(); - ClassDB::register_class<SkeletonModification3DCCDIK>(); - ClassDB::register_class<SkeletonModification3DFABRIK>(); - ClassDB::register_class<SkeletonModification3DJiggle>(); - ClassDB::register_class<SkeletonModification3DTwoBoneIK>(); - ClassDB::register_class<SkeletonModification3DStackHolder>(); + GDREGISTER_CLASS(SkeletonModificationStack3D); + GDREGISTER_CLASS(SkeletonModification3D); + GDREGISTER_CLASS(SkeletonModification3DLookAt); + GDREGISTER_CLASS(SkeletonModification3DCCDIK); + GDREGISTER_CLASS(SkeletonModification3DFABRIK); + GDREGISTER_CLASS(SkeletonModification3DJiggle); + GDREGISTER_CLASS(SkeletonModification3DTwoBoneIK); + GDREGISTER_CLASS(SkeletonModification3DStackHolder); OS::get_singleton()->yield(); // may take time to init #endif // _3D_DISABLED |