From 11ef0e70f8bc9f346c55b737462c7bedaaaf8e24 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Sat, 11 Jun 2011 00:16:18 -0700 Subject: Fixed file that wasn't committed in 231e9eee (missing this breaks prim creation) --- linden/indra/newview/lltoolplacer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linden/indra/newview') 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() BOOL LLToolPlacer::raycastForNewObjPos( S32 x, S32 y, LLViewerObject** hit_obj, S32* hit_face, BOOL* b_hit_land, LLVector3* ray_start_region, LLVector3* ray_end_region, LLViewerRegion** region ) { - F32 max_dist_from_camera = gSavedSettings.getF32( "MaxSelectDistance" ) - 1.f; + F32 max_dist_from_camera = gHippoLimits->getMaxSelectDistance() - 1.f; // Viewer-side pick to find the right sim to create the object on. // First find the surface the object will be created on. -- cgit v1.1