Author: Carlos Lopez <genet...@gmail.com>
Date:   Sun Jul  1 11:37:12 2012 +0200

Make missing layers to derive from Layer_NoDeform. It should help on optimize 
layers function.

---

 synfig-core/src/modules/mod_example/filledrect.h   |    2 +-
 synfig-core/src/modules/mod_example/metaballs.h    |    2 +-
 synfig-core/src/modules/mod_example/simplecircle.h |    2 +-
 synfig-core/src/modules/mod_particle/plant.h       |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/synfig-core/src/modules/mod_example/filledrect.h 
b/synfig-core/src/modules/mod_example/filledrect.h
index b540105..38f4fec 100644
--- a/synfig-core/src/modules/mod_example/filledrect.h
+++ b/synfig-core/src/modules/mod_example/filledrect.h
@@ -39,7 +39,7 @@
 
 /* === C L A S S E S & S T R U C T S ======================================= */
 
-class FilledRect : public synfig::Layer_Composite
+class FilledRect : public synfig::Layer_Composite, public 
synfig::Layer_NoDeform
 {
        SYNFIG_LAYER_MODULE_EXT
 
diff --git a/synfig-core/src/modules/mod_example/metaballs.h 
b/synfig-core/src/modules/mod_example/metaballs.h
index d9ae649..de6e95f 100644
--- a/synfig-core/src/modules/mod_example/metaballs.h
+++ b/synfig-core/src/modules/mod_example/metaballs.h
@@ -38,7 +38,7 @@
 /* === T Y P E D E F S ===================================================== */
 
 /* === C L A S S E S & S T R U C T S ======================================= */
-class Metaballs : public synfig::Layer_Composite
+class Metaballs : public synfig::Layer_Composite, public synfig::Layer_NoDeform
 {
        SYNFIG_LAYER_MODULE_EXT
 
diff --git a/synfig-core/src/modules/mod_example/simplecircle.h 
b/synfig-core/src/modules/mod_example/simplecircle.h
index 48c555c..766d336 100644
--- a/synfig-core/src/modules/mod_example/simplecircle.h
+++ b/synfig-core/src/modules/mod_example/simplecircle.h
@@ -39,7 +39,7 @@
 
 /* === C L A S S E S & S T R U C T S ======================================= */
 
-class SimpleCircle : public synfig::Layer_Composite
+class SimpleCircle : public synfig::Layer_Composite, public 
synfig::Layer_NoDeform
 {
        SYNFIG_LAYER_MODULE_EXT
 
diff --git a/synfig-core/src/modules/mod_particle/plant.h 
b/synfig-core/src/modules/mod_particle/plant.h
index b399a8a..4140028 100644
--- a/synfig-core/src/modules/mod_particle/plant.h
+++ b/synfig-core/src/modules/mod_particle/plant.h
@@ -49,7 +49,7 @@ using namespace synfig;
 using namespace std;
 using namespace etl;
 
-class Plant : public synfig::Layer_Composite
+class Plant : public synfig::Layer_Composite, public synfig::Layer_NoDeform
 {
        SYNFIG_LAYER_MODULE_EXT
 private:


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to