Fixing a typo that broke the build.

meow-7.2.2
Andrew Meadows 2010-11-19 08:36:53 -08:00
parent 424786d8d0
commit c320b2cef9
1 changed files with 2 additions and 2 deletions

View File

@ -518,10 +518,10 @@ void LLViewerObject::setNameValueList(const std::string& name_value_list)
// agent.
bool LLViewerObject::isReturnable()
{
LLBBox(getPositionRegion(), getRotationRegion(), getScale() * -0.5f, getScale() * 0.5f);
LLBBox box_in_region_frame(getPositionRegion(), getRotationRegion(), getScale() * -0.5f, getScale() * 0.5f);
return !isAttachment()
&& mRegionp
&& mRegionp->objectIsReturnable(getPositionRegion(), getBoundingBoxRegion());
&& mRegionp->objectIsReturnable(getPositionRegion(), box_in_region_frame);
}
BOOL LLViewerObject::setParent(LLViewerObject* parent)