From 9d2a957a0d440b07d1a5e9e0ee5fb613d93637d9 Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Sun, 15 Jul 2012 22:30:02 +0000 Subject: Sphere radius and Kr derivative epsilon (removed in revision 43902) were recovered in the Parameter Editor mode. Several users requested the recovery as the removal of the two parameters was considered over-simplification for advanced users. As in the Python Scripting mode, the two parameters are in the "advanced edge detection options" section and disabled by default. Also the lower limit of Kr derivative epsilon was changed from 0 to -1000 so as to permit a negative value. --- source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp') diff --git a/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp b/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp index c9a05019078..fe37b89999e 100644 --- a/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp +++ b/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp @@ -343,7 +343,7 @@ extern "C" { } // set parameters - if (config->mode == FREESTYLE_CONTROL_SCRIPT_MODE && (config->flags & FREESTYLE_ADVANCED_OPTIONS_FLAG)) { + if (config->flags & FREESTYLE_ADVANCED_OPTIONS_FLAG) { controller->setSphereRadius( config->sphere_radius ); controller->setSuggestiveContourKrDerivativeEpsilon( config->dkr_epsilon ); } else { -- cgit v1.2.3