Blender Git Commit Log

Git Commits -> Revision 43f5e76

Revision 43f5e76 by Kévin Dietrich (master)
December 23, 2021, 17:05 (GMT)
Cache File: use panels to organize UI

This adds interface panels to organize the Cache File UI parameters for
modifiers and constraints into related components: velocity, time, and
render procedural.

Properties relating to the three aforementioned components are separated
from `uiTemplateCacheFile` into their own functions (e.g.
`uiTemplateCacheFileVelocity` for the velocity one), which are in turn
called from the specific panel creation routines of the modifiers and
constraints (for constraints, the functions are exposed to the RNA).

`uiTemplateCacheFile` now only shows the properties for the file path,
and in the case of constraints, the scale property.

The properties that are only defined per modifier (like the velocity
scale), are shown in the proper modifier layout panel if applicable.

Reviewed By: sybren

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

Commit Details:

Full Hash: 43f5e761a66e87fed664a199cda867639f8daf3e
Parent Commit: 7a71a95
Lines Changed: +318, -68

5 Modified Paths:

/release/scripts/startup/bl_ui/properties_constraint.py (+78, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+31, -0) (Diff)
/source/blender/editors/interface/interface_templates.c (+98, -66) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+52, -0) (Diff)
/source/blender/modifiers/intern/MOD_meshsequencecache.c (+59, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021