Blender Git Loki

Git Commits -> Revision e46cd98

April 16, 2019, 14:42 (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: e46cd984075eb8d8de90896ce5ff2a8f49d1d961
Parent Commit: fb65e76
Committed By: Campbell Barton
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021