diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2012-07-16 02:30:02 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2012-07-16 02:30:02 +0400 |
commit | 9d2a957a0d440b07d1a5e9e0ee5fb613d93637d9 (patch) | |
tree | 8ec98a81d94410e5900441d86c678ec6386e02e5 /source/blender/freestyle | |
parent | 065605e0da8ecd7add39f159db624ae9063ec476 (diff) |
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.
Diffstat (limited to 'source/blender/freestyle')
-rw-r--r-- | source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |