diff options
Diffstat (limited to 'source/blender/editors/space_api/spacetypes.c')
-rw-r--r-- | source/blender/editors/space_api/spacetypes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_api/spacetypes.c b/source/blender/editors/space_api/spacetypes.c index 9056bbb1246..d34b1ccb899 100644 --- a/source/blender/editors/space_api/spacetypes.c +++ b/source/blender/editors/space_api/spacetypes.c @@ -263,13 +263,13 @@ void ED_region_draw_cb_exit(ARegionType *art, void *handle) } } -void ED_region_draw_cb_draw(const bContext *C, ARegion *ar, int type) +void ED_region_draw_cb_draw(const bContext *C, ARegion *region, int type) { RegionDrawCB *rdc; - for (rdc = ar->type->drawcalls.first; rdc; rdc = rdc->next) { + for (rdc = region->type->drawcalls.first; rdc; rdc = rdc->next) { if (rdc->type == type) { - rdc->draw(C, ar, rdc->customdata); + rdc->draw(C, region, rdc->customdata); } } } |