Changes to Freestyle default parameters:
- The "Same Object" chaining option enabled (see follow-up discussions in Bug #36629). - Sphere radius set to 0.1 (was 1.0 resulting in a longer computation time).
This commit is contained in:
parent
3b9edee711
commit
74a4ac85f4
|
@ -52,7 +52,7 @@ void BKE_freestyle_config_init(FreestyleConfig *config)
|
|||
|
||||
config->modules.first = config->modules.last = NULL;
|
||||
config->flags = 0;
|
||||
config->sphere_radius = 1.0f;
|
||||
config->sphere_radius = 0.1f;
|
||||
config->dkr_epsilon = 0.0f;
|
||||
config->crease_angle = DEG2RADF(134.43f);
|
||||
|
||||
|
|
|
@ -81,6 +81,7 @@ static void default_linestyle_settings(FreestyleLineStyle *linestyle)
|
|||
linestyle->thickness = 3.0f;
|
||||
linestyle->thickness_position = LS_THICKNESS_CENTER;
|
||||
linestyle->thickness_ratio = 0.5f;
|
||||
linestyle->flag = LS_SAME_OBJECT;
|
||||
linestyle->chaining = LS_CHAINING_PLAIN;
|
||||
linestyle->rounds = 3;
|
||||
linestyle->min_angle = DEG2RADF(0.0f);
|
||||
|
|
Loading…
Reference in New Issue