Blender Git Commit Log
Git Commits -> Revision 0d28e2a
Revision 0d28e2a by Campbell Barton (master) March 4, 2021, 04:18 (GMT) |
PyAPI: correct garbage collection for StructRNA types By default objects are no longer GC tracked, this removes some overhead although it's not significant in my own testing. - Only enable GC for StructRNA when 'WITH_PYTHON_SAFETY' is on. - Only track StructRNA when their 'reference' is set. - Add missing NULL check when 'WITH_PYTHON_SAFETY' is on and objects new objects be created. |
Commit Details:
Full Hash: 0d28e2a334a10d75c2c10054dddefabfc8766840
Parent Commit: 67856d8
Lines Changed: +29, -5
1 Modified Path:
/source/blender/python/intern/bpy_rna.c (+29, -5) (Diff)