diff options
author | prep linden <prep@lindenlab.com> | 2011-03-16 17:09:30 -0400 |
---|---|---|
committer | prep linden <prep@lindenlab.com> | 2011-03-16 17:09:30 -0400 |
commit | aaaddfe08942ff15bbe0c6549dc82dda95ce3ba1 (patch) | |
tree | fdf2b7ba411eca4b42c3554c3d63236d28549aa2 /indra/newview/llfloatermodelpreview.h | |
parent | 15b0509c01dbeec6854f4a0a5965e900eda06de1 (diff) |
Fix for SH-1017. We now disallow malformed rigs to be uploaded (i.e. missing bones, improperly names bones etc...)
Diffstat (limited to 'indra/newview/llfloatermodelpreview.h')
-rw-r--r-- | indra/newview/llfloatermodelpreview.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfloatermodelpreview.h b/indra/newview/llfloatermodelpreview.h index e3b0f7522e..b3053fe73a 100644 --- a/indra/newview/llfloatermodelpreview.h +++ b/indra/newview/llfloatermodelpreview.h @@ -294,6 +294,8 @@ public: const bool getModelPivot( void ) const { return mHasPivot; } void setHasPivot( bool val ) { mHasPivot = val; } void setModelPivot( const LLVector3& pivot ) { mModelPivot = pivot; } + const bool isRigValid( void ) const { return mRigValid; } + void setRigValid( bool rigValid ) { mRigValid = rigValid; } static void textureLoadedCallback( BOOL success, LLViewerFetchedTexture *src_vi, LLImageRaw* src, LLImageRaw* src_aux, S32 discard_level, BOOL final, void* userdata ); @@ -361,6 +363,8 @@ public: bool mHasPivot; float mPelvisZOffset; + + bool mRigValid; }; |