diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2022-11-11 17:07:43 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2022-11-12 18:50:23 +0300 |
commit | ed852c8401c98a10a8ab4ad842a0dfc1a4ae799b (patch) | |
tree | 475dfe48ed45929ece548947d4ff31ef95456dfa /intern/opensubdiv/internal/base/opensubdiv_capi.cc | |
parent | f8d968a13c5d9b1b4a30602412644ab20b2b6f74 (diff) |
Fix: Curves sculptmode: deduplicate checks for being in mode
rBa8f7d41d3898 added a "duplicate" check for being in curves sculptmode
unnecessarily afaict (`in_sculpt_curve_mode` in addition to the
previously existing `in_curves_sculpt_mode`).
Over time, the later evolved to also take into account the output of a
viewer node, see rBc55d38f00b8c (the previously existing
`in_curves_sculpt_mode` did not receive this).
This all results in the fact that selection is not drawn with a viewer
node (can be useful though, and there are separate opacity controls for
both selection and the viewer attribute, so these can be used/blended to
everyones liking).
So now deduplicate the check.
Differential Revision: https://developer.blender.org/D16467
Diffstat (limited to 'intern/opensubdiv/internal/base/opensubdiv_capi.cc')
0 files changed, 0 insertions, 0 deletions