# 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
This commit is contained in:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user