X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Flayer_composite.h;h=d7d47a127c132981a3c50afb99115b48d6a0fd94;hb=241290ec883794d1579593182b337277f6ef5182;hp=2dcac681ad83872d7d26718c6423695af0309581;hpb=cc54c38609ee9745ad678e5e9b9d7d2912be9c95;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/layer_composite.h b/synfig-core/trunk/src/synfig/layer_composite.h index 2dcac68..d7d47a1 100644 --- a/synfig-core/trunk/src/synfig/layer_composite.h +++ b/synfig-core/trunk/src/synfig/layer_composite.h @@ -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; }