# 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-9d2fd5bffc1fpull/1/head
parent
3fe2a40193
commit
73d109c7cc
|
@ -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")) {
|
||||
|
|
Loading…
Reference in New Issue