(a) ) )
- mOutput << startstr << "" << endstr;
+ mOutput << startstr << "" << endstr;
}
mOutput << startstr << "";
@@ -1113,18 +1141,18 @@ void ColladaExporter::WriteGeometry( size_t pIndex)
{
mOutput << startstr << "" << endstr;
PushTag();
- mOutput << startstr << "" << endstr;
+ mOutput << startstr << "" << endstr;
if( mesh->HasNormals() )
- mOutput << startstr << "" << endstr;
+ mOutput << startstr << "" << endstr;
for( size_t a = 0; a < AI_MAX_NUMBER_OF_TEXTURECOORDS; ++a )
{
if( mesh->HasTextureCoords(static_cast(a)) )
- mOutput << startstr << "" << endstr;
+ mOutput << startstr << "" << endstr;
}
for( size_t a = 0; a < AI_MAX_NUMBER_OF_COLOR_SETS; ++a )
{
if( mesh->HasVertexColors(static_cast(a) ) )
- mOutput << startstr << "" << endstr;
+ mOutput << startstr << "" << endstr;
}
mOutput << startstr << "";
@@ -1173,13 +1201,13 @@ void ColladaExporter::WriteFloatArray( const std::string& pIdString, FloatDataTy
return;
}
- std::string arrayId = pIdString + "-array";
+ std::string arrayId = XMLIDEncode(pIdString) + "-array";
- mOutput << startstr << "