Blender Git Loki

Git Commits -> Revision 441bcaa

Revision 441bcaa by Joshua Leung (master)
July 2, 2009, 12:41 (GMT)
NLA SoC: FModifier drawing converted to use Layout Engine

* Most of the F-Modifiers have been ported to use the layout engine + RNA for drawing their buttons now. This plays much nicer with various button-layouts.
--> As a nice demo, try adding a Noise Modifier to a NLA-strip, and change the 'size' setting to about 2 to see some effects.

* Generator and Envelope modifiers haven't been ported yet since they're quite complex (requiring more time + energy), and as such, have been made to have some temporary error prints instead. Will check on this tomorrow.

* Finished/cleaned up the RNA-wrapping of most FModifiers.


TODO's (help requested... Brecht?):
Generator modifier's UI cannot be wrapped yet using the layout engine (though I might try using the old system only), as I'm having some trouble wrapping the coefficients array for this (see rna_fcurve.c - rna_def_fmodifier_generator())

Commit Details:

Full Hash: 441bcaae2e63d3f757ee336fb051a9cb851e3e33
SVN Revision: 21318
Parent Commit: 6b784a8
Lines Changed: +233, -207

6 Modified Paths:

/source/blender/editors/animation/fmodifier_ui.c (+133, -146) (Diff)
/source/blender/editors/include/ED_anim_api.h (+2, -2) (Diff)
/source/blender/editors/space_graph/graph_buttons.c (+15, -7) (Diff)
/source/blender/editors/space_nla/nla_buttons.c (+15, -8) (Diff)
/source/blender/makesrna/intern/rna_fcurve.c (+67, -44) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021