Blender Git Loki

Git Commits -> Revision 0f34ce2

Revision 0f34ce2 by Campbell Barton (master)
January 13, 2012, 11:36 (GMT)
fix for error comparing py-struct members

if 2 pyrna structs used the same pointer they could incorrectly compare as true, this caused an error in theme saving because an item could match its parent and stop writing (to prevent recursive writing of same data).

eg:
context.user_preferences.themes[0].user_interface.wcol_regular == context.user_preferences.themes[0].user_interface

Commit Details:

Full Hash: 0f34ce27cf9c44cb5f10d4033be407c00fee2a09
SVN Revision: 43352
Parent Commit: e06d822
Lines Changed: +1, -1

1 Modified Path:

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