diff options
Diffstat (limited to 'indra/newview/llphysicsshapebuilderutil.h')
-rw-r--r-- | indra/newview/llphysicsshapebuilderutil.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llphysicsshapebuilderutil.h b/indra/newview/llphysicsshapebuilderutil.h index 0f3baa2c7f..33c2d0a8b6 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; } |