diff options
author | McCabe Maxsted | 2010-06-15 21:12:53 -0700 |
---|---|---|
committer | Jacek Antonelli | 2010-06-19 02:43:40 -0500 |
commit | f1f72d0b8beb03715ea97cdeeafc1d1159b14504 (patch) | |
tree | 900a2c3c523d4b71ad3cb27491d4475d5ef5261e /linden/indra/newview/hippoLimits.h | |
parent | Little cleanup of the AO menu check (diff) | |
download | meta-impy-f1f72d0b8beb03715ea97cdeeafc1d1159b14504.zip meta-impy-f1f72d0b8beb03715ea97cdeeafc1d1159b14504.tar.gz meta-impy-f1f72d0b8beb03715ea97cdeeafc1d1159b14504.tar.bz2 meta-impy-f1f72d0b8beb03715ea97cdeeafc1d1159b14504.tar.xz |
Added DisableMaxBuildConstraints setting for disabling viewer max prim size limit and created an advanced menu item (also updated hippoLimits)
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/hippoLimits.h | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/linden/indra/newview/hippoLimits.h b/linden/indra/newview/hippoLimits.h index 450a112..f76e7e9 100644 --- a/linden/indra/newview/hippoLimits.h +++ b/linden/indra/newview/hippoLimits.h | |||
@@ -7,32 +7,34 @@ class HippoLimits | |||
7 | public: | 7 | public: |
8 | HippoLimits(); | 8 | HippoLimits(); |
9 | 9 | ||
10 | int getMaxAgentGroups() const { return mMaxAgentGroups; } | 10 | const S32& getMaxAgentGroups() const { return mMaxAgentGroups; } |
11 | float getMaxHeight() const { return mMaxHeight; } | 11 | const F32& getMaxHeight() const { return mMaxHeight; } |
12 | float getMinHoleSize() const { return mMinHoleSize; } | 12 | const F32& getMinHoleSize() const { return mMinHoleSize; } |
13 | float getMaxHollow() const { return mMaxHollow; } | 13 | const F32& getMaxHollow() const { return mMaxHollow; } |
14 | float getMaxPrimScale() const { return mMaxPrimScale; } | 14 | const F32& getMinPrimScale() const { return mMinPrimScale; } |
15 | float getMinPrimScale() const { return mMinPrimScale; } | 15 | const S32& getMaxLinkedPrims() const { return mMaxLinkedPrims; } |
16 | S32 getMaxLinkedPrims() const { return mMaxLinkedPrims; } | ||
17 | 16 | ||
18 | void setLimits(); | 17 | // Returns the max prim size we can use on a grid |
18 | F32 getMaxPrimScale() const; | ||
19 | |||
20 | void setLimits(); | ||
19 | 21 | ||
20 | private: | 22 | private: |
21 | int mMaxAgentGroups; | 23 | S32 mMaxAgentGroups; |
22 | 24 | ||
23 | float mMaxHeight; | 25 | F32 mMaxHeight; |
24 | float mMinHoleSize; | 26 | F32 mMinHoleSize; |
25 | float mMaxHollow; | 27 | F32 mMaxHollow; |
26 | float mMaxPrimScale; | 28 | F32 mMaxPrimScale; |
27 | float mMinPrimScale; | 29 | F32 mMinPrimScale; |
28 | S32 mMaxLinkedPrims; | 30 | S32 mMaxLinkedPrims; |
29 | 31 | ||
30 | void setOpenSimLimits(); | 32 | void setOpenSimLimits(); |
31 | void setSecondLifeLimits(); | 33 | void setSecondLifeLimits(); |
32 | }; | 34 | }; |
33 | 35 | ||
34 | 36 | ||
35 | extern HippoLimits *gHippoLimits; | 37 | extern HippoLimits* gHippoLimits; |
36 | 38 | ||
37 | 39 | ||
38 | #endif | 40 | #endif |