diff options
author | McCabe Maxsted | 2009-09-18 08:52:24 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-09-18 08:52:24 -0700 |
commit | 4cdef469977e8907b06e1fafb4d7c54a6eff93f9 (patch) | |
tree | 0e51a35185676db5d5260a7bc5060f5cc68dc6a9 /linden/indra/newview/llmanipscale.h | |
parent | Merge branch '1.2.0-streaminfo' into 1.2.0-next (diff) | |
download | meta-impy-4cdef469977e8907b06e1fafb4d7c54a6eff93f9.zip meta-impy-4cdef469977e8907b06e1fafb4d7c54a6eff93f9.tar.gz meta-impy-4cdef469977e8907b06e1fafb4d7c54a6eff93f9.tar.bz2 meta-impy-4cdef469977e8907b06e1fafb4d7c54a6eff93f9.tar.xz |
Dynamically change max prim size depending upon LL/OpenSim grid (added setting for opensim detection: LoggedIntoOpenSim). OpenSim max is 128m
Diffstat (limited to 'linden/indra/newview/llmanipscale.h')
-rw-r--r-- | linden/indra/newview/llmanipscale.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linden/indra/newview/llmanipscale.h b/linden/indra/newview/llmanipscale.h index 98d8c63..c60cb69 100644 --- a/linden/indra/newview/llmanipscale.h +++ b/linden/indra/newview/llmanipscale.h | |||
@@ -88,6 +88,8 @@ public: | |||
88 | static void setShowAxes( BOOL b ); | 88 | static void setShowAxes( BOOL b ); |
89 | static BOOL getShowAxes(); | 89 | static BOOL getShowAxes(); |
90 | 90 | ||
91 | static F32 getMaxPrimSize(); | ||
92 | |||
91 | private: | 93 | private: |
92 | void renderCorners( const LLBBox& local_bbox ); | 94 | void renderCorners( const LLBBox& local_bbox ); |
93 | void renderFaces( const LLBBox& local_bbox ); | 95 | void renderFaces( const LLBBox& local_bbox ); |
@@ -165,6 +167,7 @@ private: | |||
165 | F32 mScaleSnapValue; | 167 | F32 mScaleSnapValue; |
166 | BOOL mInSnapRegime; | 168 | BOOL mInSnapRegime; |
167 | F32* mManipulatorScales; | 169 | F32* mManipulatorScales; |
170 | F32 mMaxPrimSize; | ||
168 | }; | 171 | }; |
169 | 172 | ||
170 | #endif // LL_MANIPSCALE_H | 173 | #endif // LL_MANIPSCALE_H |