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_filter / halftone3.h
index 60b07b1..e998616 100644 (file)
@@ -69,9 +69,9 @@ public:
        virtual synfig::Color get_color(synfig::Context context, const synfig::Point &pos)const;
        virtual bool accelerated_render(synfig::Context context,synfig::Surface *surface,int quality, const synfig::RendDesc &renddesc, synfig::ProgressCallback *cb)const;
        synfig::Layer::Handle hit_check(synfig::Context context, const synfig::Point &point)const;
-
        virtual Vocab get_param_vocab()const;
-};
+       virtual bool reads_context()const { return true; }
+}; // END of class Halftone3
 
 /* === E N D =============================================================== */