From a7cf4192db6f1b67b7ad84980d5e53d18dbdb3ef Mon Sep 17 00:00:00 2001 From: dooglus Date: Wed, 23 Jan 2008 14:43:50 +0000 Subject: [PATCH] The "Spherize" layer doesn't need to inherit from Layer_Composite. This fixes the layer, which was broken by r1422. git-svn-id: http://svn.voria.com/code@1424 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/modules/lyr_std/sphere_distort.cpp | 3 +-- synfig-core/trunk/src/modules/lyr_std/sphere_distort.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/synfig-core/trunk/src/modules/lyr_std/sphere_distort.cpp b/synfig-core/trunk/src/modules/lyr_std/sphere_distort.cpp index d66262b..7c1024a 100644 --- a/synfig-core/trunk/src/modules/lyr_std/sphere_distort.cpp +++ b/synfig-core/trunk/src/modules/lyr_std/sphere_distort.cpp @@ -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), diff --git a/synfig-core/trunk/src/modules/lyr_std/sphere_distort.h b/synfig-core/trunk/src/modules/lyr_std/sphere_distort.h index fa2acea..d89db43 100644 --- a/synfig-core/trunk/src/modules/lyr_std/sphere_distort.h +++ b/synfig-core/trunk/src/modules/lyr_std/sphere_distort.h @@ -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; -- 2.7.4