diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-18 19:30:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-18 19:30:51 +0400 |
commit | e6c54c26aef3334078c27730c9ea7fa546ecb51e (patch) | |
tree | bcbb68e57755dadf930d63169c6c52ab8b0d1c53 /source/blender/windowmanager/WM_types.h | |
parent | 484d765bd49e0b7a3370280f5f3b9dac89e5f699 (diff) |
use booleans for operator check functions.
Diffstat (limited to 'source/blender/windowmanager/WM_types.h')
-rw-r--r-- | source/blender/windowmanager/WM_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h index cb060077166..cd3899897a1 100644 --- a/source/blender/windowmanager/WM_types.h +++ b/source/blender/windowmanager/WM_types.h @@ -531,7 +531,7 @@ typedef struct wmOperatorType { * is changed. It can correct its own properties or report errors for * invalid settings in exceptional cases. * Boolean return value, True denotes a change has been made and to redraw */ - int (*check)(struct bContext *, struct wmOperator *); + bool (*check)(struct bContext *, struct wmOperator *); /* for modal temporary operators, initially invoke is called. then * any further events are handled in modal. if the operation is |