-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When the texture is not rotated, the rendering fails #4535
Conversation
@@ -802,6 +802,7 @@ define([ | |||
options.textureMatrix = textureMatrix; | |||
options.tangentRotationMatrix = tangentRotationMatrix; | |||
options.size = options.width * options.height; | |||
options.stRotation = stRotation; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this actually used anywhere? I traced through the code visually and didn't see this particular options object including stRotation
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it's used to make a textureMatrix
that rotates the st coordinates
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry to be dense, but where is that happening? From what I can tell, only constructRectangle
and constructExtrudedRectangle
get called with this specific options object and neither of them use it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevermind, I see it now. Sorry for the noise.
@hpinkos I've always been told that the squeaky wheel gets the grease... here is my weekly squeak for this one. |
Combine the patch that @dwhipps suggested to fix the bug #2737 and #4515