Changes to Freestyle default parameters:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Sun, 8 Sep 2013 17:56:04 +0000 (17:56 +0000)
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Sun, 8 Sep 2013 17:56:04 +0000 (17:56 +0000)
- 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).

source/blender/blenkernel/intern/freestyle.c
source/blender/blenkernel/intern/linestyle.c

index 32fe4ac4ba611102a8b3642e2f05c4647884b14f..1f106ff90a79ade4d72aa5085f4dbb65701882db 100644 (file)
@@ -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);
 
index 497554be11347ed6c667942bafcda6ee18e6ae09..d3c9250694ccdbd7b3d3c91babdd739a21998b1c 100644 (file)
@@ -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);