Bugfixes. Should fix bizarre cam behavior and lighting issues on carved/hollowed prims.

This commit is contained in:
Shyotl
2011-07-20 15:07:58 -05:00
parent bc221a573e
commit fe0cd9f702
5 changed files with 7 additions and 5 deletions

View File

@@ -2914,6 +2914,8 @@ void LLViewerObject::setScale(const LLVector3 &scale, BOOL damped)
void LLViewerObject::updateSpatialExtents(LLVector4a& newMin, LLVector4a &newMax)
{
if(mDrawable.isNull())
return;
LLVector4a center;
center.load3(getRenderPosition().mV);
LLVector4a size;