python could also have an initialize function too (as with C), and raise an exception if its not called first. this is the only sensible way to handle the situation I can think of. just failing without a way to access makes the function a bit useless (in that you cant rely on it).
On Tue, Sep 10, 2013 at 10:26 PM, Antony Riakiotakis <kal...@gmail.com> wrote: > Indeed. Under those circumstances, there are two alternatives, disallowing > evaluation on CurveMap level or just return and print an error in case the > table is NULL. > _______________________________________________ > Bf-committers mailing list > Bf-committers@blender.org > http://lists.blender.org/mailman/listinfo/bf-committers -- - Campbell _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers