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
path: root/source
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2018-07-31 16:38:45 +0300
committerAntonioya <blendergit@gmail.com>2018-07-31 16:39:49 +0300
commita3893ed03eeb9dbdfad1f4414bf168601985b0cf (patch)
tree4f4df5d6aa8d2750675ceb9f3805ab5a147913cb /source
parentebca6f5f2087b545a196422f3c1e4e988a7cd93f (diff)
Enable ghost onion skin by default
This option was changed by error when implement annotations.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/gpencil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/gpencil.c b/source/blender/blenkernel/intern/gpencil.c
index c86f39f1d55..18817f20d1c 100644
--- a/source/blender/blenkernel/intern/gpencil.c
+++ b/source/blender/blenkernel/intern/gpencil.c
@@ -419,13 +419,13 @@ bGPDlayer *BKE_gpencil_layer_addnew(bGPdata *gpd, const char *name, bool setacti
/* set default thickness of new strokes for this layer */
gpl->thickness = 3;
- /* onion-skinning settings */
- gpl->onion_flag |= GP_LAYER_ONIONSKIN;
}
else {
/* thickness parameter represents "thickness change", not absolute thickness */
gpl->thickness = 0;
gpl->opacity = 1.0f;
+ /* onion-skinning settings */
+ gpl->onion_flag |= GP_LAYER_ONIONSKIN;
}
/* auto-name */