|
@@ -2353,9 +2353,9 @@ size_t ColladaParser::ReadPrimitives( Mesh* pMesh, std::vector<InputChannel>& pP
|
|
|
ThrowException( "Expected different index count in <p> element.");
|
|
|
|
|
|
// find the data for all sources
|
|
|
- for( std::vector<InputChannel>::iterator it = pMesh->mPerVertexData.begin(); it != pMesh->mPerVertexData.end(); ++it)
|
|
|
+ for( std::vector<InputChannel>::iterator it = pMesh->mPerVertexData.begin(); it != pMesh->mPerVertexData.end(); ++it)
|
|
|
{
|
|
|
- InputChannel& input = *it;
|
|
|
+ InputChannel& input = *it;
|
|
|
if( input.mResolved)
|
|
|
continue;
|
|
|
|
|
@@ -2367,9 +2367,9 @@ size_t ColladaParser::ReadPrimitives( Mesh* pMesh, std::vector<InputChannel>& pP
|
|
|
acc->mData = &ResolveLibraryReference( mDataLibrary, acc->mSource);
|
|
|
}
|
|
|
// and the same for the per-index channels
|
|
|
- for( std::vector<InputChannel>::iterator it = pPerIndexChannels.begin(); it != pPerIndexChannels.end(); ++it)
|
|
|
- {
|
|
|
- InputChannel& input = *it;
|
|
|
+ for( std::vector<InputChannel>::iterator it = pPerIndexChannels.begin(); it != pPerIndexChannels.end(); ++it)
|
|
|
+ {
|
|
|
+ InputChannel& input = *it;
|
|
|
if( input.mResolved)
|
|
|
continue;
|
|
|
|