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-09-09 12:48:02 +0300
committerAntonioya <blendergit@gmail.com>2018-09-09 12:48:02 +0300
commitd7d4baa50f98990ae1af3cb2541a0934a0460318 (patch)
tree9e600e9e1fc452482405c55ffe2a6e8a4623a48a
parentd5d354b1a234bcb04205c13cf2ae8a9519231f5b (diff)
GP: missing change in previous commit
-rw-r--r--source/blender/draw/engines/gpencil/gpencil_draw_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
index 73a621a5f0f..1e24b337466 100644
--- a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
+++ b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
@@ -909,7 +909,7 @@ void DRW_gpencil_populate_buffer_strokes(GPENCIL_e_data *e_data, void *vedata, T
bGPdata *gpd = ob->data;
MaterialGPencilStyle *gp_style = NULL;
- float obscale = (ob->size[0] + ob->size[1] + ob->size[2]) / 3.0f;
+ float obscale = mat4_to_scale(ob->obmat);
/* use the brush material */
Material *ma = BKE_gpencil_get_material_from_brush(brush);