Skip to content
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

There is a good bug in the signature calculations in setTextureCrop(int[] crop) function #75

Open
GoogleCodeExporter opened this issue May 14, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Make the the crop array like so eg. {anynumber,anynumber,11, -15}
2. After the calculation is done signature is -4. So be for now.
3. Now the bad thing comes when we pass for the same texture a new crop array 
like eg {anothernumber,anothernumber,11,-15}. BAAAM the signature is the same 
but the crop has another left,bottom values and that is bad cause the crop is 
not applied at all.

So the normal flow should be like applying the new crop. It seems like the 
signature calculation method lacks, for now the negative number and |= is the 
bad part.

Please share your thoughts on this.

Thanks.

Original issue reported on code.google.com by [email protected] on 20 Jul 2012 at 11:46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant