HUD of DEATH fix
This commit is contained in:
@@ -1140,8 +1140,10 @@ void LLSelectMgr::getGrid(LLVector3& origin, LLQuaternion &rotation, LLVector3 &
|
||||
{
|
||||
// this means this object *has* to be an attachment
|
||||
LLXform* attachment_point_xform = first_object->getRootEdit()->mDrawable->mXform.getParent();
|
||||
mGridOrigin = attachment_point_xform->getWorldPosition();
|
||||
mGridRotation = attachment_point_xform->getWorldRotation();
|
||||
if(attachment_point_xform) {
|
||||
mGridOrigin = attachment_point_xform->getWorldPosition();
|
||||
mGridRotation = attachment_point_xform->getWorldRotation();
|
||||
}
|
||||
mGridScale = LLVector3(1.f, 1.f, 1.f) * gSavedSettings.getF32("GridResolution");
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user