diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-08-08 03:59:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-08 03:59:50 +0300 |
commit | cb58658f4145239082573aec49f261ce389a03ca (patch) | |
tree | 7e3efccc6c61e7b839b09e4a4793819ad98dfa70 /source/blender/editors/gpencil | |
parent | 5f71093bb64c3cf589f432a8768e772dcbc72aed (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_add_stroke.c | 2 | ||||
-rw-r--r-- | source/blender/editors/gpencil/gpencil_brush.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/gpencil_add_stroke.c b/source/blender/editors/gpencil/gpencil_add_stroke.c index ebe07fe417f..f932f98ac1d 100644 --- a/source/blender/editors/gpencil/gpencil_add_stroke.c +++ b/source/blender/editors/gpencil/gpencil_add_stroke.c @@ -23,7 +23,7 @@ * ***** END GPL LICENSE BLOCK ***** */ -/** \file blender/editors/gpencil/gpencil_add_monkey.c +/** \file blender/editors/gpencil/gpencil_add_stroke.c * \ingroup edgpencil */ diff --git a/source/blender/editors/gpencil/gpencil_brush.c b/source/blender/editors/gpencil/gpencil_brush.c index aed55c15b19..ff93e7fc57d 100644 --- a/source/blender/editors/gpencil/gpencil_brush.c +++ b/source/blender/editors/gpencil/gpencil_brush.c @@ -1814,7 +1814,7 @@ static int gpsculpt_brush_invoke(bContext *C, wmOperator *op, const wmEvent *eve { tGP_BrushEditData *gso = NULL; const bool is_modal = RNA_boolean_get(op->ptr, "wait_for_input"); - const bool is_playing = ED_screen_animation_playing(CTX_wm_manager(C)) != NULL ? true : false; + const bool is_playing = ED_screen_animation_playing(CTX_wm_manager(C)) != NULL; bool needs_timer = false; float brush_rate = 0.0f; |