Blender Git Loki

Git Commits -> Revision 9995454

Revision 9995454 by Campbell Barton (master)
September 6, 2010, 15:54 (GMT)
bugfix [#23656] Problems retrieving properties from inside runtime-created PointerProperties

cant test if this fix solves the problem matt is having but it at least fixes an error caused by classes created in exec(),
when the properties pointers were copied the hash key still referred to the python object which could be freed. in most cases this wouldnt happen (would be kept in bytecode) but with exec() the property string is freed immediately.

Commit Details:

Full Hash: 99954545ee23dbeb932add263e94e34ed85c91d5
SVN Revision: 31789
Parent Commit: f6c68f1
Lines Changed: +25, -13

3 Modified Paths:

/source/blender/makesrna/intern/rna_define.c (+14, -2) (Diff)
/source/blender/makesrna/RNA_define.h (+1, -1) (Diff)
/source/blender/python/intern/bpy_props.c (+10, -10) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021