Browse Source

Merge pull request #210 from VirusFree/master

fix for collada parser when importing empty arrays.
Alexander Gessler 11 years ago
parent
commit
3086569e36
1 changed files with 0 additions and 1 deletions
  1. 0 1
      code/ColladaParser.cpp

+ 0 - 1
code/ColladaParser.cpp

@@ -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