Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2018-09-25 19:44:53 +0300
committerAntonioya <blendergit@gmail.com>2018-09-25 19:44:53 +0300
commitfd1870b995fa4540c342526ca6525641bba5aab5 (patch)
treedc3e8a0cf370b9509d0aa813d94d3da609d13e5f /source/blender/editors/gpencil/gpencil_data.c
parentdf5cb4d66ffa5fbd4af553c433f7742406665686 (diff)
GP: Small changes to assign color operator
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_data.c')
-rw-r--r--source/blender/editors/gpencil/gpencil_data.c5
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;