diff options
author | Dave Parks <davep@lindenlab.com> | 2010-02-05 11:19:14 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-02-05 11:19:14 -0600 |
commit | 43ca4e104b613c95a1147751122f7ff007542e5c (patch) | |
tree | 62af085abb58aff625a806ef5edfd2c894daee93 /indra/newview/llvovolume.h | |
parent | 92e07a0c5eb97ea4f839eaf824699d403ac56c6d (diff) |
EXT-4209 Fix for sculptie prims not updating geometry when texture is loaded.
Diffstat (limited to 'indra/newview/llvovolume.h')
-rw-r--r-- | indra/newview/llvovolume.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llvovolume.h b/indra/newview/llvovolume.h index a287d34402..a8bb597f93 100644 --- a/indra/newview/llvovolume.h +++ b/indra/newview/llvovolume.h @@ -179,8 +179,10 @@ public: /*virtual*/ BOOL setMaterial(const U8 material); void setTexture(const S32 face); - + S32 getIndexInTex() const {return mIndexInTex ;} /*virtual*/ BOOL setVolume(const LLVolumeParams &volume_params, const S32 detail, bool unique_volume = false); + void updateSculptTexture(); + void setIndexInTex(S32 index) { mIndexInTex = index ;} void sculpt(); void updateRelativeXform(); /*virtual*/ BOOL updateGeometry(LLDrawable *drawable); @@ -303,7 +305,7 @@ private: LLPointer<LLViewerFetchedTexture> mLightTexture; media_list_t mMediaImplList; S32 mLastFetchedMediaVersion; // as fetched from the server, starts as -1 - + S32 mIndexInTex; // statics public: static F32 sLODSlopDistanceFactor;// Changing this to zero, effectively disables the LOD transition slop |