aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltoolplacer.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2011-06-11 00:16:18 -0700
committerMcCabe Maxsted2011-06-11 00:16:18 -0700
commit11ef0e70f8bc9f346c55b737462c7bedaaaf8e24 (patch)
tree06e15fbbdf2dae18bb538dcba6926a5ea644adbf /linden/indra/newview/lltoolplacer.cpp
parentDon't limit select distance when Disable Max Build Constraints is enabled (diff)
downloadmeta-impy-11ef0e70f8bc9f346c55b737462c7bedaaaf8e24.zip
meta-impy-11ef0e70f8bc9f346c55b737462c7bedaaaf8e24.tar.gz
meta-impy-11ef0e70f8bc9f346c55b737462c7bedaaaf8e24.tar.bz2
meta-impy-11ef0e70f8bc9f346c55b737462c7bedaaaf8e24.tar.xz
Fixed file that wasn't committed in 231e9eee (missing this breaks prim creation)
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/lltoolplacer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/lltoolplacer.cpp b/linden/indra/newview/lltoolplacer.cpp
index 9f5eb09..80b415c 100644
--- a/linden/indra/newview/lltoolplacer.cpp
+++ b/linden/indra/newview/lltoolplacer.cpp
@@ -88,7 +88,7 @@ LLToolPlacer::LLToolPlacer()
88BOOL LLToolPlacer::raycastForNewObjPos( S32 x, S32 y, LLViewerObject** hit_obj, S32* hit_face, 88BOOL LLToolPlacer::raycastForNewObjPos( S32 x, S32 y, LLViewerObject** hit_obj, S32* hit_face,
89 BOOL* b_hit_land, LLVector3* ray_start_region, LLVector3* ray_end_region, LLViewerRegion** region ) 89 BOOL* b_hit_land, LLVector3* ray_start_region, LLVector3* ray_end_region, LLViewerRegion** region )
90{ 90{
91 F32 max_dist_from_camera = gSavedSettings.getF32( "MaxSelectDistance" ) - 1.f; 91 F32 max_dist_from_camera = gHippoLimits->getMaxSelectDistance() - 1.f;
92 92
93 // Viewer-side pick to find the right sim to create the object on. 93 // Viewer-side pick to find the right sim to create the object on.
94 // First find the surface the object will be created on. 94 // First find the surface the object will be created on.