summaryrefslogtreecommitdiff
path: root/indra/newview/llvocache.h
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-08-22 12:22:34 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-08-22 12:22:34 -0600
commit7b5618aeaeb4df31bd3f9436e067b26fb5be866b (patch)
tree83590056d4323de0a8e930ed0fc1f0b1b9d72f44 /indra/newview/llvocache.h
parentea37dd4acc8687ae28902b8a5f7d0841314c4849 (diff)
fix for SH-4400: Interesting: Side effect 1 of unloading culled objects.
Diffstat (limited to 'indra/newview/llvocache.h')
-rwxr-xr-xindra/newview/llvocache.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llvocache.h b/indra/newview/llvocache.h
index 71be9de759..4eca083445 100755
--- a/indra/newview/llvocache.h
+++ b/indra/newview/llvocache.h
@@ -83,12 +83,14 @@ public:
bool hasState(U32 state) {return mState & state;}
U32 getState() const {return mState;}
+ //virtual
+ bool isRecentlyVisible() const;
+
U32 getLocalID() const { return mLocalID; }
U32 getCRC() const { return mCRC; }
S32 getHitCount() const { return mHitCount; }
S32 getCRCChangeCount() const { return mCRCChangeCount; }
- U32 getMinFrameRange()const;
-
+
void calcSceneContribution(const LLVector3& camera_origin, bool needs_update, U32 last_update);
void setSceneContribution(F32 scene_contrib) {mSceneContrib = scene_contrib;}
F32 getSceneContribution() const { return mSceneContrib;}