jMonkeyEngine-Contributions / Lemur

Lemur is a jMonkeyEngine-based UI toolkit.
http://jmonkeyengine-contributions.github.io/Lemur/
BSD 3-Clause "New" or "Revised" License
116 stars 32 forks source link

QuadBackgroundComponent not applying textureCoordinateScale when styling #54

Closed NemesisMate closed 5 years ago

NemesisMate commented 7 years ago

When a style QuadBackgroundComponent is applied for the second time, the textureCoordinateScale is not being applied if this second panel has the same size as the first one. This seems to be because of the appliedTextureScale (the responsible of the textureCoordinateScale is being cloned too, avoiding the refresh).

pspeed42 commented 5 years ago

I've committed a fix but don't have a test case to try it. If you get a chance to try it then let me know if it works or not. Thanks for reporting the issue.

pspeed42 commented 5 years ago

I'm going to go ahead and close this. If the patch turns out not to work then we can reopen this issue. (I've changed my mind about whether or not to leave issues open by default as they are easy to reopen and closing them requires no further action at all in the best case.)