diff options
author | McCabe Maxsted | 2011-06-11 00:16:18 -0700 |
---|---|---|
committer | McCabe Maxsted | 2011-06-11 00:16:18 -0700 |
commit | 11ef0e70f8bc9f346c55b737462c7bedaaaf8e24 (patch) | |
tree | 06e15fbbdf2dae18bb538dcba6926a5ea644adbf /linden/indra/newview/lltoolplacer.cpp | |
parent | Don't limit select distance when Disable Max Build Constraints is enabled (diff) | |
download | meta-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.cpp | 2 |
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() | |||
88 | BOOL LLToolPlacer::raycastForNewObjPos( S32 x, S32 y, LLViewerObject** hit_obj, S32* hit_face, | 88 | BOOL 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. |