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/editors/include/ED_space_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/editors/include/ED_space_api.h')
-rw-r--r--source/blender/editors/include/ED_space_api.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_space_api.h b/source/blender/editors/include/ED_space_api.h
index ddd8b59c264..709af6e8b09 100644
--- a/source/blender/editors/include/ED_space_api.h
+++ b/source/blender/editors/include/ED_space_api.h
@@ -75,7 +75,6 @@ void *ED_region_draw_cb_activate(struct ARegionType *,
void *custumdata, int type);
void ED_region_draw_cb_draw(const struct bContext *, struct ARegion *, int);
void ED_region_draw_cb_exit(struct ARegionType *, void *);
-void *ED_region_draw_cb_customdata(void *handle);
/* generic callbacks */
/* ed_util.c */
void ED_region_draw_mouse_line_cb(const struct bContext *C, struct ARegion *ar, void *arg_info);