Rectangles are 'solid color' when using straight blending if both the amount and...
[synfig.git] / synfig-core / trunk / src / synfig / layer_composite.h
index 2dcac68..d7d47a1 100644 (file)
@@ -72,7 +72,7 @@ public:
 
        Layer_Composite& set_blend_method(Color::BlendMethod x) { blend_method_=x; return *this; }
 
-       bool is_solid_color()const { return amount_==1.0f && blend_method_==Color::BLEND_STRAIGHT; }
+       virtual bool is_solid_color()const { return amount_==1.0f && blend_method_==Color::BLEND_STRAIGHT; }
 
        bool is_disabled()const { return amount_==0.0f; }