Merge pull request #210 from VirusFree/master

fix for collada parser when importing empty arrays.
pull/211/head
Alexander Gessler 2013-12-20 05:04:14 -08:00
commit 3086569e36
1 changed files with 0 additions and 1 deletions

View File

@ -1660,7 +1660,6 @@ void ColladaParser::ReadDataArray()
std::string id = mReader->getAttributeValue( indexID);
int indexCount = GetAttribute( "count");
unsigned int count = (unsigned int) mReader->getAttributeValueAsInt( indexCount);
if (count == 0) { return; } // some exporters write empty data arrays with count="0"
const char* content = TestTextContent();
// read values and store inside an array in the data library