Revision: 2207
http://synfig.svn.sourceforge.net/synfig/?rev=2207&view=rev
Author: dooglus
Date: 2008-11-18 12:07:17 +0000 (Tue, 18 Nov 2008)
Log Message:
-----------
Fix 1993098: "Composited Inline canvases fails if background is transp.". This
was the same as bug 1671884, but failing to take account of a pastecanvas' zoom
rather than its offset.
http://dooglus.rincevent.net/synfig/pastecanvas-zoom-bug.sifz is a simple
example that didn't render correctly before this fix.
Modified Paths:
--------------
synfig-core/trunk/src/synfig/layer_pastecanvas.cpp
Modified: synfig-core/trunk/src/synfig/layer_pastecanvas.cpp
===================================================================
--- synfig-core/trunk/src/synfig/layer_pastecanvas.cpp 2008-11-18 10:58:17 UTC
(rev 2206)
+++ synfig-core/trunk/src/synfig/layer_pastecanvas.cpp 2008-11-18 12:07:17 UTC
(rev 2207)
@@ -411,7 +411,7 @@
if (blend_method==Color::BLEND_COMPOSITE) blend_using_straight
= true;
}
- if
(!etl::intersect(context.get_full_bounding_rect(),full_bounding_rect+origin))
+ if
(!etl::intersect(context.get_full_bounding_rect(),(full_bounding_rect*exp(zoom))+origin))
{
// if there's no intersection between the context and our
// surface, and we're rendering 'onto', then we're done
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl