Blender Git Commit Log

Git Commits -> Revision dd7229a

Revision dd7229a by Dan Eicher (master)
May 19, 2012, 21:22 (GMT)
Added 'LIBRARY_EDITABLE' flag to bpy.props.*

Rationale: custom props on linked objects are editable through ops and the console but the UI code calls RNA_property_editable() which returns false if (id->lib && !(prop->flag & PROP_LIB_EXCEPTION))

Setting the 'LIBRARY_EDITABLE' flag allows UI templates to change these props (but the changes aren't saved!) for things like indices into CollectionProperties which live on the linked object

Commit Details:

Full Hash: dd7229aee066b879e58fb2f83efaf4e6059cc06f
SVN Revision: 46799
Parent Commit: 436b63e
Lines Changed: +33, -10

2 Modified Paths:

/source/blender/makesrna/intern/rna_rna.c (+11, -0) (Diff)
/source/blender/python/intern/bpy_props.c (+22, -10) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021