diff options
author | Antonioya <blendergit@gmail.com> | 2018-09-09 12:48:02 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-09-09 12:48:02 +0300 |
commit | d7d4baa50f98990ae1af3cb2541a0934a0460318 (patch) | |
tree | 9e600e9e1fc452482405c55ffe2a6e8a4623a48a /source | |
parent | d5d354b1a234bcb04205c13cf2ae8a9519231f5b (diff) |
GP: missing change in previous commit
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_draw_utils.c | 2 |
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); |