diff options
author | Palmer <palmer@lindenlab.com> | 2009-12-07 16:03:56 -0800 |
---|---|---|
committer | Palmer <palmer@lindenlab.com> | 2009-12-07 16:03:56 -0800 |
commit | 85488f54148b2dba02eadcbd50ccbb552638c3c7 (patch) | |
tree | dbb248900527cac25c307970fb5c817b90b715e7 /indra/newview/llvovolume.h | |
parent | ee159d8e742a7281f304fc45b692c111706d294e (diff) | |
parent | 9d3968bb837828568bf58113b8315c8ca2e8dae1 (diff) |
Merge of viewer 2 changes
Diffstat (limited to 'indra/newview/llvovolume.h')
-rw-r--r-- | indra/newview/llvovolume.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.h b/indra/newview/llvovolume.h index 06e214b41e..964a1d79d8 100644 --- a/indra/newview/llvovolume.h +++ b/indra/newview/llvovolume.h @@ -183,6 +183,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); @@ -228,6 +233,7 @@ public: U32 getVolumeInterfaceID() const; virtual BOOL isFlexible() const; virtual BOOL isSculpted() const; + virtual BOOL isMesh() const; virtual BOOL hasLightTexture() const; BOOL isVolumeGlobal() const; @@ -252,6 +258,7 @@ public: void mediaNavigated(LLViewerMediaImpl *impl, LLPluginClassMedia* plugin, std::string new_location); 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); @@ -267,9 +274,11 @@ public: LLVector3 getApproximateFaceNormal(U8 face_id); + void notifyMeshLoaded(); + // Returns 'true' iff the media data for this object is in flight bool isMediaDataBeingFetched() const; - + protected: S32 computeLODDetail(F32 distance, F32 radius); BOOL calcLOD(); |