[Bf-blender-cvs] [a3893ed03ee] blender2.8: Enable ghost onion skin by default
Antonioya
noreply at git.blender.org
Tue Jul 31 15:39:53 CEST 2018
Commit: a3893ed03eeb9dbdfad1f4414bf168601985b0cf
Author: Antonioya
Date: Tue Jul 31 15:38:45 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBa3893ed03eeb9dbdfad1f4414bf168601985b0cf
Enable ghost onion skin by default
This option was changed by error when implement annotations.
===================================================================
M source/blender/blenkernel/intern/gpencil.c
===================================================================
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 */
More information about the Bf-blender-cvs
mailing list