diff options
author | Antonioya <blendergit@gmail.com> | 2018-09-25 19:44:53 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-09-25 19:44:53 +0300 |
commit | fd1870b995fa4540c342526ca6525641bba5aab5 (patch) | |
tree | dc3e8a0cf370b9509d0aa813d94d3da609d13e5f /source/blender/editors/gpencil | |
parent | df5cb4d66ffa5fbd4af553c433f7742406665686 (diff) |
GP: Small changes to assign color operator
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_data.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_data.c b/source/blender/editors/gpencil/gpencil_data.c index 3f159c87b3c..439053957c5 100644 --- a/source/blender/editors/gpencil/gpencil_data.c +++ b/source/blender/editors/gpencil/gpencil_data.c @@ -1413,6 +1413,11 @@ static int gp_stroke_change_color_exec(bContext *C, wmOperator *op) } } } + /* if not multiedit, exit loop*/ + if (!is_multiedit) { + break; + } + } } CTX_DATA_END; |