From c900cd3bd8ab060f34e303ae6da7edf6994223d9 Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Sun, 28 Sep 2014 11:05:19 +0900 Subject: Freestyle: Expose the Operators.reset() function to Python. The Operators.reset function is exposed to the Freestyle Python API, which makes it possible to combine multiple style modules into one file. Differential revision: https://developer.blender.org/D802 Author: flokkievids (Folkert de Vries) Reviewed by: kjym3 (Tamito Kajiyama) --- source/blender/freestyle/intern/stroke/Operators.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/freestyle/intern/stroke/Operators.h') diff --git a/source/blender/freestyle/intern/stroke/Operators.h b/source/blender/freestyle/intern/stroke/Operators.h index 59ebec57246..c7b0e3f8b81 100644 --- a/source/blender/freestyle/intern/stroke/Operators.h +++ b/source/blender/freestyle/intern/stroke/Operators.h @@ -259,7 +259,7 @@ public: return &_current_strokes_set; } - static void reset(); + static void reset(bool removeStrokes=true); private: Operators() {} -- cgit v1.2.3