diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llmanip.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/linden/indra/newview/llmanip.cpp b/linden/indra/newview/llmanip.cpp index 538e6df..20d77e0 100644 --- a/linden/indra/newview/llmanip.cpp +++ b/linden/indra/newview/llmanip.cpp | |||
@@ -107,9 +107,7 @@ void LLManip::getManipNormal(LLViewerObject* object, EManipPart manip, LLVector3 | |||
107 | LLVector3 arrow_axis; | 107 | LLVector3 arrow_axis; |
108 | getManipAxis(object, manip, arrow_axis); | 108 | getManipAxis(object, manip, arrow_axis); |
109 | 109 | ||
110 | LLVector3 origin_dir = grid_origin - gCamera->getOrigin(); | 110 | LLVector3 cross = arrow_axis % gCamera->getAtAxis(); |
111 | origin_dir.normVec(); | ||
112 | LLVector3 cross = arrow_axis % origin_dir; | ||
113 | normal = cross % arrow_axis; | 111 | normal = cross % arrow_axis; |
114 | normal.normVec(); | 112 | normal.normVec(); |
115 | } | 113 | } |