From: dooglus Date: Wed, 23 Jan 2008 18:02:46 +0000 (+0000) Subject: Only convert 'straight' to 'composite' when updating a canvas from pre 0.3 to 0.3... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=4b543cfd8a38b32f3700156b94c97ed1f0e3abfd;p=synfig.git Only convert 'straight' to 'composite' when updating a canvas from pre 0.3 to 0.3 for layers which don't transform the layers under them. git-svn-id: http://svn.voria.com/code@1434 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/synfig/layer_composite.cpp b/synfig-core/trunk/src/synfig/layer_composite.cpp index b788011..2cd6a17 100644 --- a/synfig-core/trunk/src/synfig/layer_composite.cpp +++ b/synfig-core/trunk/src/synfig/layer_composite.cpp @@ -164,7 +164,7 @@ Layer_Composite::set_param(const String & param, const ValueBase &value) return false; } - if (blend_method_ == Color::BLEND_STRAIGHT) + if (blend_method_ == Color::BLEND_STRAIGHT && !reads_context()) { Canvas::Handle canvas(get_canvas()); if (canvas)