summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.h
diff options
context:
space:
mode:
authorDavid Parks <davep@lindenlab.com>2009-11-02 19:55:37 +0000
committerDavid Parks <davep@lindenlab.com>2009-11-02 19:55:37 +0000
commit3e80fa3dbc943de9b784fedc202ba38cf238f46d (patch)
treedeeaedd0bf4ed9eb9f99ec47325198efce512e5f /indra/newview/llvovolume.h
parent9a196cdda8fa62b90f6f390b21986712d198f03e (diff)
Sync up with render-pipeline-7 ignore-dead-branch
Diffstat (limited to 'indra/newview/llvovolume.h')
-rw-r--r--indra/newview/llvovolume.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llvovolume.h b/indra/newview/llvovolume.h
index 250c3ed917..6aaf5b2fdd 100644
--- a/indra/newview/llvovolume.h
+++ b/indra/newview/llvovolume.h
@@ -182,6 +182,11 @@ public:
/*virtual*/ BOOL setVolume(const LLVolumeParams &volume_params, const S32 detail, bool unique_volume = false);
void sculpt();
+ static void rebuildMeshAssetCallback(LLVFS *vfs,
+ const LLUUID& asset_uuid,
+ LLAssetType::EType type,
+ void* user_data, S32 status, LLExtStat ext_status);
+
void updateRelativeXform();
/*virtual*/ BOOL updateGeometry(LLDrawable *drawable);
/*virtual*/ void updateFaceSize(S32 idx);
@@ -227,6 +232,7 @@ public:
U32 getVolumeInterfaceID() const;
virtual BOOL isFlexible() const;
virtual BOOL isSculpted() const;
+ virtual BOOL isMesh() const;
virtual BOOL hasLightTexture() const;
BOOL isVolumeGlobal() const;
@@ -235,6 +241,7 @@ public:
void updateObjectMediaData(const LLSD &media_data_duples);
void mediaEvent(LLViewerMediaImpl *impl, LLPluginClassMedia* plugin, LLViewerMediaObserver::EMediaEvent event);
+
// Sync the given media data with the impl and the given te
void syncMediaData(S32 te, const LLSD &media_data, bool merge, bool ignore_agent);
@@ -247,6 +254,8 @@ public:
bool hasMedia() const;
+ void notifyMeshLoaded();
+
protected:
S32 computeLODDetail(F32 distance, F32 radius);
BOOL calcLOD();