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:
authorAntonio Vazquez <blendergit@gmail.com>2020-05-15 17:51:36 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-05-15 17:51:36 +0300
commit363f18c8b58dd2ba637aed171e75a346e86e7753 (patch)
tree8d5cc107ac557b89c7cb78bb1b4becf50c3bfc66 /source/blender/editors/gpencil/gpencil_utils.c
parentd6e0b55b1c695473313f6c2a97547c0fc14dda15 (diff)
parent1cad0a627e882cf0c5a98d1b482327e59f65a87a (diff)
Merge branch 'blender-v2.83-release'
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_utils.c')
-rw-r--r--source/blender/editors/gpencil/gpencil_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_utils.c b/source/blender/editors/gpencil/gpencil_utils.c
index 407571d18c8..3cab26eab44 100644
--- a/source/blender/editors/gpencil/gpencil_utils.c
+++ b/source/blender/editors/gpencil/gpencil_utils.c
@@ -1365,7 +1365,7 @@ void ED_gpencil_add_defaults(bContext *C, Object *ob)
/* if not exist, create a new one */
if ((paint->brush == NULL) || (paint->brush->gpencil_settings == NULL)) {
/* create new brushes */
- BKE_brush_gpencil_paint_presets(bmain, ts);
+ BKE_brush_gpencil_paint_presets(bmain, ts, true);
}
/* ensure a color exists and is assigned to object */