Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-10-26 01:19:51 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-10-26 01:30:17 +0300
commit6c86e1a781162e5a62955b136833ecf78010e2bc (patch)
tree7a6d9e654513fa8e207f591b9859d6eeabc074e9 /source/blender/windowmanager/WM_api.h
parent35991d999052f6cb7d5c4c98c0c689e05218314c (diff)
PyAPI: draw handlers now store args in the capsule context
Was using the handlers custom-data which crashes when Blender frees the screen data before Python removes the handler.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r--source/blender/windowmanager/WM_api.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h
index 4d3be1e3f3b..7628217d88f 100644
--- a/source/blender/windowmanager/WM_api.h
+++ b/source/blender/windowmanager/WM_api.h
@@ -179,7 +179,6 @@ struct wmPaintCursor *WM_paint_cursor_activate(
void *customdata);
bool WM_paint_cursor_end(struct wmWindowManager *wm, struct wmPaintCursor *handle);
-void *WM_paint_cursor_customdata_get(struct wmPaintCursor *pc);
void WM_paint_cursor_tag_redraw(struct wmWindow *win, struct ARegion *ar);