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>2019-02-15 14:00:43 +0300
committerAntonioya <blendergit@gmail.com>2019-02-15 14:00:43 +0300
commit00fc604478c7a5e71406e5cd63f162ce11debe11 (patch)
tree8bea34fc1249904cc6b584390faee6b2063b4ea2 /source/blender/editors/gpencil/gpencil_add_monkey.c
parent872ff507a26c73b0c474019ebe86358aa9601292 (diff)
Fix T61570: Monkey primitive fill color wrong
This was introduced by error in a previous commit.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_add_monkey.c')
-rw-r--r--source/blender/editors/gpencil/gpencil_add_monkey.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_add_monkey.c b/source/blender/editors/gpencil/gpencil_add_monkey.c
index ec5dc1e2917..dfe61e2a456 100644
--- a/source/blender/editors/gpencil/gpencil_add_monkey.c
+++ b/source/blender/editors/gpencil/gpencil_add_monkey.c
@@ -73,6 +73,9 @@ static int gpencil_monkey_color(
if (!fill) {
ma->gp_style->flag &= ~GP_STYLE_FILL_SHOW;
}
+ else {
+ ma->gp_style->flag |= GP_STYLE_FILL_SHOW;
+ }
return BKE_gpencil_get_material_index(ob, ma) - 1;
}