diff options
author | Joseph Eagar <joeedh@gmail.com> | 2022-10-04 01:33:14 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2022-10-04 01:37:23 +0300 |
commit | ed7f5713f8f9d605e3cd4cce42e40fb5c6bf4bf5 (patch) | |
tree | 246753cf640a10c0f9c7f6fa052dfd7c313b03c1 /source/blender/functions/FN_multi_function_params.hh | |
parent | 416d1d039363fe7d93943ecd8936b386f9301749 (diff) |
Sculpt: Fix T101430: Blank stroke undo steps corrupt dyntopo
Blank brush strokes never have an oppurtunity to initialize
a sculpt undo step, which results in blank global undo steps.
These confuse DynTopo's internal BMLog undo stack.
Note: I tried having the stroke operator return OPERATOR_CANCELLED,
but this didn't prevent the undo push (which is done automatically
due to the presence of OPTYPE_UNDO in the operator flags).
I might investigate removing the flag, but that might cause other
problems.
Diffstat (limited to 'source/blender/functions/FN_multi_function_params.hh')
0 files changed, 0 insertions, 0 deletions