aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-11-23 17:36:31 -0700
committerMcCabe Maxsted2010-11-23 17:36:31 -0700
commitb44444500a4e3969bf2ab30fadd34c8a64fcf761 (patch)
treecdb61032bff817f1840b8af2a3943caf35a71970
parentMerge remote branch 'armin/weekly' into weekly (diff)
parentFix #724: Snap guides in scale manipulator not shown. (diff)
downloadmeta-impy-b44444500a4e3969bf2ab30fadd34c8a64fcf761.zip
meta-impy-b44444500a4e3969bf2ab30fadd34c8a64fcf761.tar.gz
meta-impy-b44444500a4e3969bf2ab30fadd34c8a64fcf761.tar.bz2
meta-impy-b44444500a4e3969bf2ab30fadd34c8a64fcf761.tar.xz
Merge remote branch 'thickbrick/weekly' into weekly
-rw-r--r--linden/doc/contributions.txt2
-rw-r--r--linden/indra/newview/llmanipscale.cpp2
-rw-r--r--linden/indra/newview/lltoolpie.cpp7
3 files changed, 8 insertions, 3 deletions
diff --git a/linden/doc/contributions.txt b/linden/doc/contributions.txt
index 41f896f..80c11ce 100644
--- a/linden/doc/contributions.txt
+++ b/linden/doc/contributions.txt
@@ -339,6 +339,8 @@ Khyota Wulluf
339Kunnis Basiat 339Kunnis Basiat
340 VWR-82 340 VWR-82
341 VWR-102 341 VWR-102
342Lance Corrimal
343 SNOW-717
342Lisa Lowe 344Lisa Lowe
343 CT-218 345 CT-218
344 CT-219 346 CT-219
diff --git a/linden/indra/newview/llmanipscale.cpp b/linden/indra/newview/llmanipscale.cpp
index 268e431..b38abe4 100644
--- a/linden/indra/newview/llmanipscale.cpp
+++ b/linden/indra/newview/llmanipscale.cpp
@@ -1523,7 +1523,7 @@ void LLManipScale::renderSnapGuides(const LLBBox& bbox)
1523 F32 max_subdivisions = sGridMaxSubdivisionLevel; 1523 F32 max_subdivisions = sGridMaxSubdivisionLevel;
1524 F32 grid_alpha = gSavedSettings.getF32("GridOpacity"); 1524 F32 grid_alpha = gSavedSettings.getF32("GridOpacity");
1525 1525
1526 F32 max_point_on_scale_line = partToMaxScale(mManipPart, bbox); 1526 F32 max_point_on_scale_line = llmin(partToMaxScale(mManipPart, bbox), LLWorld::getInstance()->getRegionWidthInMeters());
1527 LLVector3 drag_point = gAgent.getPosAgentFromGlobal(mDragPointGlobal); 1527 LLVector3 drag_point = gAgent.getPosAgentFromGlobal(mDragPointGlobal);
1528 1528
1529 updateGridSettings(); 1529 updateGridSettings();
diff --git a/linden/indra/newview/lltoolpie.cpp b/linden/indra/newview/lltoolpie.cpp
index 296d1bb..34735a3 100644
--- a/linden/indra/newview/lltoolpie.cpp
+++ b/linden/indra/newview/lltoolpie.cpp
@@ -645,8 +645,6 @@ BOOL LLToolPie::handleHover(S32 x, S32 y, MASK mask)
645 } 645 }
646 */ 646 */
647 647
648
649 gViewerWindow->getWindow()->setCursor(UI_CURSOR_ARROW);
650 648
651 LLViewerObject *object = NULL; 649 LLViewerObject *object = NULL;
652 LLViewerObject *parent = NULL; 650 LLViewerObject *parent = NULL;
@@ -697,9 +695,14 @@ BOOL LLToolPie::handleHover(S32 x, S32 y, MASK mask)
697 { 695 {
698 gViewerWindow->getWindow()->setCursor(UI_CURSOR_HAND); 696 gViewerWindow->getWindow()->setCursor(UI_CURSOR_HAND);
699 } 697 }
698 else
699 {
700 gViewerWindow->getWindow()->setCursor(UI_CURSOR_ARROW);
701 }
700 } 702 }
701 else 703 else
702 { 704 {
705 gViewerWindow->getWindow()->setCursor(UI_CURSOR_ARROW);
703 // We need to clear media hover flag 706 // We need to clear media hover flag
704 if (LLViewerMediaFocus::getInstance()->getMouseOverFlag()) 707 if (LLViewerMediaFocus::getInstance()->getMouseOverFlag())
705 { 708 {