Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 committed May 6, 2024
1 parent 4e05844 commit 4eae0c4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bullet-featherstone/src/JointFeatures.cc
Original file line number Diff line number Diff line change
Expand Up @@ -390,10 +390,12 @@ void JointFeatures::DetachJoint(const Identity &_jointId)
{
// If broadphase and collision object flags do not agree, the
// link was originally non-static but made static by AttachJoint
if (!linkInfo->isStaticOrFixed && ((childProxy->m_collisionFilterGroup &
if (!linkInfo->isStaticOrFixed &&
((childProxy->m_collisionFilterGroup &
btBroadphaseProxy::StaticFilter) > 0))
{
childProxy->m_collisionFilterGroup = btBroadphaseProxy::DefaultFilter;
childProxy->m_collisionFilterGroup =
btBroadphaseProxy::DefaultFilter;
childProxy->m_collisionFilterMask = btBroadphaseProxy::AllFilter;
}
}
Expand Down

0 comments on commit 4eae0c4

Please sign in to comment.