Blender Git Loki

Git Commits -> Revision 1f5647c

Revision 1f5647c by Hans Goudey (master)
February 19, 2021, 16:11 (GMT)
UI: FModifier layout updates, drag and drop

This patch implements the list panel system D7490 for FCurve modifiers.

The UI layouts are updated to make use of subpanels and to be consistent
with the rest of the interface, and easier to understand.

See the differential revision for screenshots.

This commit also significantly cleans up the FModifier UI code, and
improves, mainly by replacing the old button creation code is with
the newer interface API using RNA. In turn there is a bit of complexity
added because each FModifier has a separate panel.

Although reordering of FModifiers was not implemented before, we get
drag and drop basically for free here, so it is also included.
As noted in some older to do tasks, FModifiers aren't evaluated
in perfect order, which may be a point of improvement for the future.

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

Commit Details:

Full Hash: 1f5647c07d15d2b298b491ebe260a411f7b0d1b8
Parent Commit: 0d94695
Lines Changed: +800, -799

8 Modified Paths:

/source/blender/blenkernel/intern/fmodifier.c (+2, -1) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+13, -0) (Diff)
/source/blender/editors/animation/fmodifier_ui.c (+684, -765) (Diff)
/source/blender/editors/include/ED_anim_api.h (+23, -5) (Diff)
/source/blender/editors/space_graph/graph_buttons.c (+26, -11) (Diff)
/source/blender/editors/space_nla/nla_buttons.c (+29, -8) (Diff)
/source/blender/makesdna/DNA_anim_types.h (+10, -1) (Diff)
/source/blender/makesrna/intern/rna_fcurve.c (+13, -8) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021