Fix load with DTS shapes introduced with HW skinning changes

This commit is contained in:
James Urquhart 2016-08-30 19:07:02 +01:00
parent 26241020ff
commit 12019173af
5 changed files with 85 additions and 18 deletions

View file

@ -279,6 +279,7 @@ protected:
TSVertexBufferHandle mSoftwareVertexBuffer;
bool mOwnMaterialList; ///< Does this own the material list pointer?
bool mUseOwnBuffer; ///< Force using our own copy of the vertex buffer
bool mAlphaAlways;
F32 mAlphaAlwaysValue;
@ -341,6 +342,7 @@ protected:
/// an optional feature set.
void initMaterialList( const FeatureSet *features = NULL );
void setUseOwnBuffer();
bool ownMaterialList() const { return mOwnMaterialList; }
/// Get the number of material targets in this shape instance