FBX: Use C++11 range-based for loop
This commit is contained in:
@@ -1062,8 +1062,8 @@ void Converter::GenerateTransformationNodeChain( const Model& model,
|
||||
|
||||
nd->mName.Set( name );
|
||||
|
||||
for ( size_t i = 0; i < TransformationComp_MAXIMUM; ++i ) {
|
||||
nd->mTransformation = nd->mTransformation * chain[ i ];
|
||||
for (const auto &transform : chain) {
|
||||
nd->mTransformation = nd->mTransformation * transform;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user