summaryrefslogtreecommitdiff
path: root/indra/newview/llphysicsshapebuilderutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llphysicsshapebuilderutil.h')
-rw-r--r--indra/newview/llphysicsshapebuilderutil.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llphysicsshapebuilderutil.h b/indra/newview/llphysicsshapebuilderutil.h
index 25b44bbbb5..01c173523b 100644
--- a/indra/newview/llphysicsshapebuilderutil.h
+++ b/indra/newview/llphysicsshapebuilderutil.h
@@ -73,7 +73,8 @@ public:
{
return LLVolumeParams::operator<(params);
}
- return (params.mForceConvex == false) && (mForceConvex == true);
+
+ return !params.mForceConvex && mForceConvex;
}
bool shouldForceConvex() const { return mForceConvex; }