Sculpt UI: Make DynTopo constant detail a resolution value
authorJulian Eisel <eiseljulian@gmail.com>
Sat, 12 Nov 2016 15:14:09 +0000 (16:14 +0100)
committerJulian Eisel <eiseljulian@gmail.com>
Sat, 12 Nov 2016 15:53:38 +0000 (16:53 +0100)
commit627141082b12f266adb43478402edd1900240765
tree1c330410d09da9fd20c434f339d1564fa429a43b
parente00c3ab13fb7121f8a9b1db2fe0ab6b3eb9ab48b
Sculpt UI: Make DynTopo constant detail a resolution value

This should make it easier to sculpt in high resolutions, downside is that the new way to calculate maximum edge length is a bit less intuitive. Maximum edge length used to be calculated as blender_unit * percentage_value, now it's blender_unit / value.

Reused old DNA struct member, but had to bump subversion to ensure correct compatibility conversion. Also changed default value slightly (would have had to set to 3.333... otherwise).

Was Requested by @monio (see https://rightclickselect.com/p/sculpting/zpbbbc/dyntopo-better-scale-input-in-constant-detail-mode) and I think it's worth testing.
release/scripts/startup/bl_ui/space_view3d_toolbar.py
source/blender/blenkernel/BKE_blender_version.h
source/blender/blenloader/intern/versioning_270.c
source/blender/editors/interface/resources.c
source/blender/editors/sculpt_paint/sculpt.c
source/blender/makesdna/DNA_scene_types.h
source/blender/makesrna/intern/rna_sculpt_paint.c