diff options
author | Martin Poirier <theeth@yahoo.com> | 2007-11-09 01:03:04 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2007-11-09 01:03:04 +0300 |
commit | eeb9e1486d6babb9c64bcaa0b29236def05d9f95 (patch) | |
tree | 0fa603b8e80c0f2e6a40e918fd69dcbfdbd412ca /source/blender/blenloader | |
parent | e7c4bad8e929fd690aed9c652157eb3c8688c850 (diff) |
Still nothing to see here <shifty eyes>
This fixes up angle based subdivisions, adds embedding post processing methods (before, only average was there, added smooth and sharpen).
More parameters are controllable through the UI.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 47761532243..6decb833d55 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -6776,9 +6776,12 @@ static void do_versions(FileData *fd, Library *lib, Main *main) sce->toolsettings->skgen_resolution = 50; sce->toolsettings->skgen_threshold_internal = 0.01f; sce->toolsettings->skgen_threshold_external = 0.01f; - sce->toolsettings->skgen_threshold_angle = 45.0f; - sce->toolsettings->skgen_threshold_length = 1.3f; - sce->toolsettings->skgen_options = SKGEN_FILTER_INTERNAL|SKGEN_FILTER_EXTERNAL|SKGEN_REPOSITION|SKGEN_SMOOTH|SKGEN_CUT_LENGTH|SKGEN_CUT_ANGLE; + sce->toolsettings->skgen_angle_limit = 45.0f; + sce->toolsettings->skgen_length_ratio = 1.3f; + sce->toolsettings->skgen_length_limit = 1.5f; + sce->toolsettings->skgen_postpro = SKGEN_SMOOTH; + sce->toolsettings->skgen_options = SKGEN_FILTER_INTERNAL|SKGEN_FILTER_EXTERNAL|SKGEN_REPOSITION|SKGEN_CUT_LENGTH|SKGEN_CUT_ANGLE; + } } } |