Blender Git Loki

Git Commits -> Revision 7f9b6b1

Revision 7f9b6b1 by Philipp Oeser (master)
March 9, 2021, 12:55 (GMT)
Sculpt: 'Unifiy' Dyntopo Detail Size operators

Prior to rB99a7c917eab7, Shift + D was used to set detail size for both
constant and relative detail (using radial control). The commit added an
improved operator for doing this for constant detail (showing the
triangle grid representation), but left the user without a shortcut to
do this for relative detail.

Interestingly rB99a7c917eab7 only changed this for the Blender keymap,
the Industy Compatible keymap still has the "old" entry.

This patch changes both keymaps to have both entries.

For user experience, the real change here is to have both available on
one 'primary' shortcut (Shift+D), the improved
'dyntopo_detail_size_edit' operator will now act on all possible cases.
If it deals with constant detail, it acts as before, if it deals with
relative detail etc, it will fallback to the "old" way of doing it via
radial control instead. I assume this adresses what was stated in
rB99a7c917eab7: "Deciding if both detail sizes can be unified needs a
separate discussion"

Also, move dyntopo_detail_size_edit to sculpt_detail.c

Fixes T83828

Maniphest Tasks: T83828

Differential Revision: https://developer.blender.org/D9871

Commit Details:

Full Hash: 7f9b6b1dc920a6da6b028a5e8c14d7c14aab4555
Parent Commit: 2283b6e
Lines Changed: +354, -339

5 Modified Paths:

/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+1, -0) (Diff)
/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py (+2, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+0, -335) (Diff)
/source/blender/editors/sculpt_paint/sculpt_detail.c (+350, -3) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021