add mesh distort display mode (highlights distorted faces)
[blender-staging.git] / source / blender / blenkernel / intern / scene.c
index 86dbc2a36b3cf515a249a8a297d2ca81a03f9307..ff384b282931cf43f85a445a90cce202846cb464 100644 (file)
@@ -525,6 +525,8 @@ Scene *BKE_scene_add(Main *bmain, const char *name)
        sce->toolsettings->statvis.overhang_max = DEG2RADF(45.0f);
        sce->toolsettings->statvis.thickness_max = 0.1f;
        sce->toolsettings->statvis.thickness_samples = 1;
+       sce->toolsettings->statvis.distort_min = DEG2RADF(5.0f);
+       sce->toolsettings->statvis.distort_max = DEG2RADF(45.0f);
 
        sce->toolsettings->proportional_size = 1.0f;