diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-26 07:32:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-26 07:32:35 +0300 |
commit | 7b61fe1638051b3b2e296680a000819f31672414 (patch) | |
tree | 7b640b7fb07ac3d1663fc683c903d3b5e33bbf42 /source/blender/windowmanager/intern | |
parent | 8d03e04493023d63ec05321ab8dc48dbd22363f2 (diff) |
Cleanup: use BLI_assert
Diffstat (limited to 'source/blender/windowmanager/intern')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index c79bae5b717..b10a4ce6794 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -1111,7 +1111,7 @@ static uiBlock *wm_block_create_redo(bContext *C, ARegion *ar, void *arg_op) /* if register is not enabled, the operator gets freed on OPERATOR_FINISHED * ui_apply_but_funcs_after calls ED_undo_operator_repeate_cb and crashes */ - assert(op->type->flag & OPTYPE_REGISTER); + BLI_assert(op->type->flag & OPTYPE_REGISTER); UI_block_func_handle_set(block, wm_block_redo_cb, arg_op); layout = UI_block_layout( |