The "Spherize" layer doesn't need to inherit from Layer_Composite. This fixes the...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 23 Jan 2008 14:43:50 +0000 (14:43 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 23 Jan 2008 14:43:50 +0000 (14:43 +0000)
git-svn-id: http://svn.voria.com/code@1424 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/modules/lyr_std/sphere_distort.cpp
synfig-core/trunk/src/modules/lyr_std/sphere_distort.h

index d66262b..7c1024a 100644 (file)
@@ -81,8 +81,7 @@ SYNFIG_LAYER_SET_CVS_ID(Layer_SphereDistort,"$Id$");
 /* === E N T R Y P O I N T ================================================= */
 
 Layer_SphereDistort::Layer_SphereDistort()
-:Layer_Composite(1.0,Color::BLEND_STRAIGHT),
-center(0,0),
+:center(0,0),
 radius(1),
 percent(1.0),
 type(TYPE_NORMAL),
index fa2acea..d89db43 100644 (file)
@@ -40,7 +40,7 @@ namespace synfig
 {
 class Spherize_Trans;
 
-class Layer_SphereDistort : public Layer_Composite
+class Layer_SphereDistort : public Layer
 {
        SYNFIG_LAYER_MODULE_EXT
        friend class Spherize_Trans;