diff options
author | McCabe Maxsted | 2010-04-19 04:54:39 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-04-19 04:54:39 -0700 |
commit | 218b03785d21eeb46ccf3f83851f50df9ba57d49 (patch) | |
tree | 7f95666d4ae83d907b7ed247c8e16f6d2c13192d /linden/indra/newview | |
parent | Applied slviewer-0-v12350-NumberOfDecimalsInTools.patch patch from the CV (diff) | |
download | meta-impy-218b03785d21eeb46ccf3f83851f50df9ba57d49.zip meta-impy-218b03785d21eeb46ccf3f83851f50df9ba57d49.tar.gz meta-impy-218b03785d21eeb46ccf3f83851f50df9ba57d49.tar.bz2 meta-impy-218b03785d21eeb46ccf3f83851f50df9ba57d49.tar.xz |
Made the CV decimal in tools patch actually work to 5 decimal places
Diffstat (limited to 'linden/indra/newview')
-rw-r--r-- | linden/indra/newview/llpanelobject.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llpanelobject.cpp b/linden/indra/newview/llpanelobject.cpp index 460611a..a0736f1 100644 --- a/linden/indra/newview/llpanelobject.cpp +++ b/linden/indra/newview/llpanelobject.cpp | |||
@@ -1682,7 +1682,7 @@ void LLPanelObject::sendRotation(BOOL btn_down) | |||
1682 | // Note: must compare before conversion to radians | 1682 | // Note: must compare before conversion to radians |
1683 | LLVector3 delta = new_rot - mCurEulerDegrees; | 1683 | LLVector3 delta = new_rot - mCurEulerDegrees; |
1684 | 1684 | ||
1685 | if (delta.magVec() >= 0.0005f) | 1685 | if (delta.magVec() >= 0.0001f) |
1686 | { | 1686 | { |
1687 | mCurEulerDegrees = new_rot; | 1687 | mCurEulerDegrees = new_rot; |
1688 | new_rot *= DEG_TO_RAD; | 1688 | new_rot *= DEG_TO_RAD; |
@@ -1728,7 +1728,7 @@ void LLPanelObject::sendScale(BOOL btn_down) | |||
1728 | LLVector3 newscale(mCtrlScaleX->get(), mCtrlScaleY->get(), mCtrlScaleZ->get()); | 1728 | LLVector3 newscale(mCtrlScaleX->get(), mCtrlScaleY->get(), mCtrlScaleZ->get()); |
1729 | 1729 | ||
1730 | LLVector3 delta = newscale - mObject->getScale(); | 1730 | LLVector3 delta = newscale - mObject->getScale(); |
1731 | if (delta.magVec() >= 0.0005f) | 1731 | if (delta.magVec() >= 0.0001f) |
1732 | { | 1732 | { |
1733 | // scale changed by more than 1/2 millimeter | 1733 | // scale changed by more than 1/2 millimeter |
1734 | 1734 | ||
@@ -1799,7 +1799,7 @@ void LLPanelObject::sendPosition(BOOL btn_down) | |||
1799 | LLVector3d old_pos_global = mObject->getPositionGlobal(); | 1799 | LLVector3d old_pos_global = mObject->getPositionGlobal(); |
1800 | LLVector3d delta = new_pos_global - old_pos_global; | 1800 | LLVector3d delta = new_pos_global - old_pos_global; |
1801 | // moved more than 1/2 millimeter | 1801 | // moved more than 1/2 millimeter |
1802 | if (delta.magVec() >= 0.0005f) | 1802 | if (delta.magVec() >= 0.0001f) |
1803 | { | 1803 | { |
1804 | if (mRootObject != mObject) | 1804 | if (mRootObject != mObject) |
1805 | { | 1805 | { |