Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 committed May 10, 2024
1 parent ab22dfc commit 936d164
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bullet-featherstone/src/SDFFeatures.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1334,8 +1334,8 @@ bool SDFFeatures::AddSdfCollision(
#if BT_BULLET_VERSION >= 307
linkInfo->collider->setDynamicType(btCollisionObject::CF_STATIC_OBJECT);
#else
int oldFlags = linkInfo->collider->getCollisionFlags();
linkInfo->collider->setCollisionFlags(oldFlags |
int oldFlags = linkInfo->collider->getCollisionFlags();
linkInfo->collider->setCollisionFlags(oldFlags |
btCollisionObject::CF_STATIC_OBJECT);
#endif
}
Expand Down

0 comments on commit 936d164

Please sign in to comment.