Blender Git Loki

Git Commits -> Revision a3ce413

Revision a3ce413 by Martin Poirier (master)
September 14, 2009, 16:00 (GMT)
Bugfix with py operator api and modal operators. Modal operators would keep a reference to Reports locally allocated in the api functions, which would crash and burn later when the operator would actually stop.

This commit introduces a flag at the Reports level that can be used to indicate that it needs to be freed (on top of the flag already existing in the operator, which I guess could be removed).

Reports for operators called through python are only persisted if they indicate that they are running modal.

Commit Details:

Full Hash: a3ce413f44ba13b5e95e53d3dc11a92a16ac1dd5
SVN Revision: 23223
Parent Commit: 733b20f
Lines Changed: +17, -6

4 Modified Paths:

/source/blender/makesdna/DNA_windowmanager_types.h (+1, -0) (Diff)
/source/blender/python/intern/bpy_operator.c (+10, -5) (Diff)
/source/blender/windowmanager/intern/wm.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021