Blender Git Commit Log

Git Commits -> Revision 63f7ece

Revision 63f7ece by Campbell Barton (master)
July 30, 2021, 06:04 (GMT)
PyAPI: defer freeing existing properties on registration

Registering a property could remove the existing property,
then fail to parse one of the arguments of the new property -
leaving the struct without a property.

Now freeing the existing property is deferred until immediately
before the new property is registered.

Commit Details:

Full Hash: 63f7eceb53085ef40cad4dc2343dbe608be999c1
Parent Commit: d06b03f
Lines Changed: +100, -11

3 Modified Paths:

/source/blender/makesrna/intern/rna_define.c (+45, -10) (Diff)
/source/blender/makesrna/RNA_define.h (+5, -0) (Diff)
/source/blender/python/intern/bpy_props.c (+50, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021