From: dooglus Date: Sun, 28 Oct 2007 16:19:04 +0000 (+0000) Subject: Fixed a bug in transparency detection. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=ee37342d0af3ee5a41340f76f347fa476765205e;p=synfig.git Fixed a bug in transparency detection. git-svn-id: http://svn.voria.com/code@993 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/modules/mod_magickpp/trgt_magickpp.cpp b/synfig-core/trunk/src/modules/mod_magickpp/trgt_magickpp.cpp index a8b1bc0..7ddaee9 100644 --- a/synfig-core/trunk/src/modules/mod_magickpp/trgt_magickpp.cpp +++ b/synfig-core/trunk/src/modules/mod_magickpp/trgt_magickpp.cpp @@ -203,7 +203,7 @@ magickpp_trgt::end_scanline() if (!transparent) for (int i = 0; i < width; i++) - if (buffer[i*4 + 3] < 128) + if (buffer_pointer[i*4 + 3] < 128) { transparent = true; break;