Define reads_context() in the class of each layer that does need to be able to see...
[synfig.git] / synfig-core / trunk / src / modules / mod_noise / distort.h
index 3d41722..3958c2b 100644 (file)
@@ -73,9 +73,9 @@ public:
        virtual void set_time(synfig::Context context, synfig::Time time)const;
        virtual void set_time(synfig::Context context, synfig::Time time, const synfig::Point &point)const;
        virtual synfig::Rect get_bounding_rect(synfig::Context context)const;
-
        virtual Vocab get_param_vocab()const;
-};
+       virtual bool reads_context()const { return true; }
+}; // EOF of class NoiseDistort
 
 /* === E N D =============================================================== */