Small fix to the ASE loader - workaround for bitmaps with filename "None".
Further work on the IRR loader. Still work in progress. Fixed a minor issue in StandardShapes. Fixed a bug in the Q3D loader causing models without textures to load incorrectly. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@225 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -208,7 +208,7 @@ inline bool ProcessArray(T*& in, unsigned int num,const char* name,
|
||||
template <typename T>
|
||||
inline bool AllIdentical(T* in, unsigned int num)
|
||||
{
|
||||
if (!num)return true;
|
||||
if (num <= 1)return true;
|
||||
for (unsigned int i = 0; i < num-1;++i)
|
||||
{
|
||||
if (in[i] != in[i+1])return false;
|
||||
|
||||
Reference in New Issue
Block a user