[vassalengine-svn-trunk] [vassalengine-svn] SF.net SVN: vassalengine:[5659] VASSAL-src/trunk/src/VA
Brought to you by:
rodneykinney,
uckelman
From: <uck...@us...> - 2009-05-25 15:56:00
|
Revision: 5659 http://vassalengine.svn.sourceforge.net/vassalengine/?rev=5659&view=rev Author: uckelman Date: 2009-05-25 15:55:51 +0000 (Mon, 25 May 2009) Log Message: ----------- Bug: Transparent images used for orthogonal rotations of opaque sources. Modified Paths: -------------- VASSAL-src/trunk/src/VASSAL/tools/image/ImageUtils.java Modified: VASSAL-src/trunk/src/VASSAL/tools/image/ImageUtils.java =================================================================== --- VASSAL-src/trunk/src/VASSAL/tools/image/ImageUtils.java 2009-05-25 15:53:33 UTC (rev 5658) +++ VASSAL-src/trunk/src/VASSAL/tools/image/ImageUtils.java 2009-05-25 15:55:51 UTC (rev 5659) @@ -234,7 +234,7 @@ final BufferedImage trans = createCompatibleImage( tbox.width, tbox.height, - src.getTransparency() == BufferedImage.OPAQUE && angle % 90.0 == 0.0 + src.getTransparency() != BufferedImage.OPAQUE || angle % 90.0 != 0.0 ); final AffineTransform t = new AffineTransform(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ vassalengine-svn mailing list vas...@li... https://lists.sourceforge.net/lists/listinfo/vassalengine-svn |