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-12-21 13:26:58 +0300
committerAntonioya <blendergit@gmail.com>2018-12-21 13:27:24 +0300
commit1b674d70a39ec655aee694feece56414afc57548 (patch)
tree5f45844542bc64c24666a35c86de4296d580fe39 /source/blender/blenkernel/intern/gpencil.c
parent36184f739264387a932c21424964d01c33d793b0 (diff)
GP: Cleanup weird thickness scale
This code used old factor, but now this only adds complexity and makes code hard to understand.
Diffstat (limited to 'source/blender/blenkernel/intern/gpencil.c')
-rw-r--r--source/blender/blenkernel/intern/gpencil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/gpencil.c b/source/blender/blenkernel/intern/gpencil.c
index d0b7d433eb6..9eb95f91c61 100644
--- a/source/blender/blenkernel/intern/gpencil.c
+++ b/source/blender/blenkernel/intern/gpencil.c
@@ -472,7 +472,7 @@ bGPDstroke *BKE_gpencil_add_stroke(bGPDframe *gpf, int mat_idx, int totpoints, s
/* allocate memory for a new stroke */
bGPDstroke *gps = MEM_callocN(sizeof(bGPDstroke), "gp_stroke");
- gps->thickness = thickness * 25;
+ gps->thickness = thickness;
gps->inittime = 0;
/* enable recalculation flag by default */