Blender Git Loki

Git Commits -> Revision e5ace51

Revision e5ace51 by Philipp Oeser (master)
May 15, 2020, 17:29 (GMT)
Fix T76734: Changing Envelope FModifier controlpoints missing update

Issue is that update functions defined in
`rna_def_fmodifier_envelope_ctrl` (namely `rna_FModifier_update`) are
actually never called.

This is because UI code for FCurve modifiers often does not use RNA
buttons but uses custom update functions (or non at all). For example,
rB9a88bd55903a did this for the generators, envelope control points did
not have this at all.

This is now changed to use RNA buttons for the envelope control points,
this could done for other non-RNA buttons as well to get rid of
'validate_fmodifier_cb()'.

Maniphest Tasks: T76734

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

Commit Details:

Full Hash: e5ace51295b90161c59220ace4347735d8fecef7
Parent Commit: abcb23f
Lines Changed: +29, -22

1 Modified Path:

/source/blender/editors/animation/fmodifier_ui.c (+29, -22) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021