Blender Git Commit Log

Git Commits -> Revision 40dd915

Revision 40dd915 by Alexander Gavrilov (master)
April 16, 2019, 13:49 (GMT)
Python: add a utility function for creating custom properties.

Creating a fully functional custom property requires also setting up
its limits, description, default value and static override status.
It is complex enough to warrant providing an official utility.

Currently boolean properties are technically int, but the utility
pretends they are separate in case that eventually they are.

Reviewers: campbellbarton

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

Commit Details:

Full Hash: 40dd91561d462999eae4636d6e6ec0b76788eed4
Parent Commit: d5a7645
Lines Changed: +55, -10

2 Modified Paths:

/release/scripts/modules/rna_prop_ui.py (+53, -1) (Diff)
/release/scripts/startup/bl_operators/wm.py (+2, -9) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021