Only convert 'straight' to 'composite' when updating a canvas from pre 0.3 to 0.3...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 23 Jan 2008 18:02:46 +0000 (18:02 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 23 Jan 2008 18:02:46 +0000 (18:02 +0000)
git-svn-id: http://svn.voria.com/code@1434 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/synfig/layer_composite.cpp

index b788011..2cd6a17 100644 (file)
@@ -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)