Blender Git Commit Log

Git Commits -> Revision 0f1ee61

Revision 0f1ee61 by Campbell Barton (master)
April 24, 2021, 13:37 (GMT)
Fix T85567: Crash accessing gizmo group on `__del__`

- Re-order freeing so an instances __del__ method runs before the
`ExtensionRNA` has been freed.

- "remove" functions no longer free the gizmo/gizmo-group memory,
needed so the identifier used when freeing the extension
doesn't use the freed identifier.

Commit Details:

Full Hash: 0f1ee611d4499fbac050b7a997e50bc234a252f9
Parent Commit: aa95f80
Lines Changed: +25, -15

5 Modified Paths:

/source/blender/makesrna/intern/rna_wm_gizmo.c (+12, -4) (Diff)
/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c (+3, -1) (Diff)
/source/blender/windowmanager/gizmo/intern/wm_gizmo_group_type.c (+3, -3) (Diff)
/source/blender/windowmanager/gizmo/intern/wm_gizmo_type.c (+3, -5) (Diff)
/source/blender/windowmanager/gizmo/WM_gizmo_api.h (+4, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021