aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvowater.h
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-05-01 03:36:02 -0700
committerMcCabe Maxsted2010-09-25 08:15:52 -0700
commit7042b6caff21c678524b94ef57455563bc17fb43 (patch)
tree63ca90be30a1a1bb8ece0a968156300dc810c122 /linden/indra/newview/llvowater.h
parentApplied patch by Aleric Inglewood for VWR-12984: Water flickers and disappear... (diff)
downloadmeta-impy-7042b6caff21c678524b94ef57455563bc17fb43.zip
meta-impy-7042b6caff21c678524b94ef57455563bc17fb43.tar.gz
meta-impy-7042b6caff21c678524b94ef57455563bc17fb43.tar.bz2
meta-impy-7042b6caff21c678524b94ef57455563bc17fb43.tar.xz
Applied patch by Aleric Inglewood for VWR-12984: Water flickers and disappears in patches, part 3: Collapse LL_VO_HOLE_WATER and LL_VO_EDGE_WATER into one LL_VO_VOID_WATER
Diffstat (limited to 'linden/indra/newview/llvowater.h')
-rw-r--r--linden/indra/newview/llvowater.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/newview/llvowater.h b/linden/indra/newview/llvowater.h
index 37480b6..55ce6d7 100644
--- a/linden/indra/newview/llvowater.h
+++ b/linden/indra/newview/llvowater.h
@@ -77,12 +77,13 @@ public:
77 /*virtual*/ BOOL isActive() const; // Whether this object needs to do an idleUpdate. 77 /*virtual*/ BOOL isActive() const; // Whether this object needs to do an idleUpdate.
78 78
79 void setUseTexture(const BOOL use_texture); 79 void setUseTexture(const BOOL use_texture);
80 void setIsEdgePatch(const BOOL edge_patch);
80 BOOL getUseTexture() const { return mUseTexture; } 81 BOOL getUseTexture() const { return mUseTexture; }
81 82 BOOL getIsEdgePatch() const { return mIsEdgePatch; }
82 bool isEdgeWater(void) const { return mPrimitiveCode == LL_VO_EDGE_WATER; }
83 83
84protected: 84protected:
85 BOOL mUseTexture; 85 BOOL mUseTexture;
86 BOOL mIsEdgePatch;
86 LLPipeline::LLRenderTypeMask mRenderType; 87 LLPipeline::LLRenderTypeMask mRenderType;
87}; 88};
88 89