Only convert 'straight' to 'composite' when updating a canvas from pre 0.3 to 0.3...
[synfig.git] / 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)