Blender Git Loki

Git Commits -> Revision ddcb6b1

Revision ddcb6b1 by Campbell Barton (master)
July 30, 2021, 01:57 (GMT)
Cleanup: replace macros with converter callbacks for bpy.props

Macros were used for expanding shared logic for some properties.

Replace this with Python converters & a funciton that handles
deferred registration.

Add generic converter functions for RNA enums:

- pyrna_enum_value_parse_string
- pyrna_enum_bitfield_parse_set

Commit Details:

Full Hash: ddcb6b1023bf3089cd6d2db3012b68b9ec2b980f
Parent Commit: 5280d4b
Lines Changed: +640, -441

3 Modified Paths:

/source/blender/python/intern/bpy_props.c (+590, -441) (Diff)
/source/blender/python/intern/bpy_rna.c (+38, -0) (Diff)
/source/blender/python/intern/bpy_rna.h (+12, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021