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 / lumakey.h
index 900fbb7..a52ce3a 100644 (file)
@@ -1,6 +1,8 @@
 /* === S Y N F I G ========================================================= */
 /*!    \file lumakey.h
-**     \brief Checkerboard Layer
+**     \brief Header file for implementation of the "Luma Key" layer
+**
+**     $Id$
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
@@ -57,7 +59,8 @@ public:
        virtual synfig::Rect get_bounding_rect(synfig::Context context)const;
 
        virtual bool accelerated_render(synfig::Context context,synfig::Surface *surface,int quality, const synfig::RendDesc &renddesc, synfig::ProgressCallback *cb)const;
-};
+       virtual bool reads_context()const { return true; }
+}; // END of class LumaKey
 
 /* === E N D =============================================================== */