# bugfix [3295074]: copy'n'paste bug in ReadSamplerProperties would cause y-axis sampler state to be assigned to the respective x values.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@975 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
aramis_acg 2011-04-29 21:32:13 +00:00
parent 3fe2a40193
commit 73d109c7cc
1 changed files with 3 additions and 3 deletions

View File

@ -1250,7 +1250,7 @@ void ColladaParser::ReadSamplerProperties( Sampler& out )
TestClosing( "wrapU");
}
else if( IsElement( "wrapV")) {
out.mWrapU = ReadBoolFromTextContent();
out.mWrapV = ReadBoolFromTextContent();
TestClosing( "wrapV");
}
else if( IsElement( "mirrorU")) {
@ -1258,7 +1258,7 @@ void ColladaParser::ReadSamplerProperties( Sampler& out )
TestClosing( "mirrorU");
}
else if( IsElement( "mirrorV")) {
out.mMirrorU = ReadBoolFromTextContent();
out.mMirrorV = ReadBoolFromTextContent();
TestClosing( "mirrorV");
}
else if( IsElement( "repeatU")) {
@ -1274,7 +1274,7 @@ void ColladaParser::ReadSamplerProperties( Sampler& out )
TestClosing( "offsetU");
}
else if( IsElement( "offsetV")) {
out.mTransform.mTranslation.x = ReadFloatFromTextContent();
out.mTransform.mTranslation.y = ReadFloatFromTextContent();
TestClosing( "offsetV");
}
else if( IsElement( "rotateUV")) {