diff options
Diffstat (limited to 'linden/indra/newview/lldrawable.cpp')
-rw-r--r-- | linden/indra/newview/lldrawable.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/linden/indra/newview/lldrawable.cpp b/linden/indra/newview/lldrawable.cpp index f808f89..ee49752 100644 --- a/linden/indra/newview/lldrawable.cpp +++ b/linden/indra/newview/lldrawable.cpp | |||
@@ -1096,7 +1096,6 @@ LLCamera LLSpatialBridge::transformCamera(LLCamera& camera) | |||
1096 | LLCamera ret = camera; | 1096 | LLCamera ret = camera; |
1097 | LLXformMatrix* mat = mDrawable->getXform(); | 1097 | LLXformMatrix* mat = mDrawable->getXform(); |
1098 | LLVector3 center = LLVector3(0,0,0) * mat->getWorldMatrix(); | 1098 | LLVector3 center = LLVector3(0,0,0) * mat->getWorldMatrix(); |
1099 | LLQuaternion rotation = LLQuaternion(mat->getWorldMatrix()); | ||
1100 | 1099 | ||
1101 | LLVector3 delta = ret.getOrigin() - center; | 1100 | LLVector3 delta = ret.getOrigin() - center; |
1102 | LLQuaternion rot = ~mat->getRotation(); | 1101 | LLQuaternion rot = ~mat->getRotation(); |