Blender Git Commit Log

Git Commits -> Revision 1a6b51e

Revision 1a6b51e by Philipp Oeser (master)
April 21, 2021, 09:02 (GMT)
Curve modifiers: Disable 'Apply on Spline' option if not available

Some curve modifiers (namely Hook, SoftBody and MeshDeform) can only work
on pre-tesselated spline points.

Before the modifier UI refactor in rB9b099c86123f, users would get the
'Apply on Spline' option, but disabled and with a tip explaining why
this cant be changed. After rB9b099c86123f though, this button was
always enabled [but disfunctional] leaving the user without an
explanation why this has no effect.

Now restore this functionality since it is quite important information.
Additionally, this button now appears to be ON in these cases which
makes more sense from the user perspective (so it does not represent the
actual setting on the modifier -- this would internally be switched ON in
the modifier calculation anyways though, see
'curve_get_tessellate_point')

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

Commit Details:

Full Hash: 1a6b51e17502a221bc9813301c10cb9b3c4883f7
Parent Commit: a6cd207
Lines Changed: +26, -1

1 Modified Path:

/source/blender/modifiers/intern/MOD_ui_common.c (+26, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021