- rewrote the XFileLoader material management to handle meshes with dummy material names correctly.
This commit is contained in:
@@ -85,7 +85,9 @@ struct Material
|
||||
aiColor3D mEmissive;
|
||||
std::vector<TexEntry> mTextures;
|
||||
|
||||
Material() { mIsReference = false; }
|
||||
size_t sceneIndex; ///< the index under which it was stored in the scene's material list
|
||||
|
||||
Material() { mIsReference = false; sceneIndex = SIZE_MAX; }
|
||||
};
|
||||
|
||||
/** Helper structure to represent a bone weight */
|
||||
|
||||
Reference in New Issue
Block a user