diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-11-07 18:12:16 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2022-11-07 18:12:16 +0300 |
commit | 410b87ca781d6b6b061bab0440005ac1ab82688f (patch) | |
tree | 185338c288c87828322ac3bd31355abd5290e737 /source/blender/io/gpencil/intern/gpencil_io_export_svg.cc | |
parent | 2b9994257fbc9ef486165c6d0c5815f40f890124 (diff) | |
parent | 95631c94c4bd08f8a7e9c713f624e934eb7eb7ae (diff) |
Merge branch 'master' into temp-gpencil-automask
Diffstat (limited to 'source/blender/io/gpencil/intern/gpencil_io_export_svg.cc')
-rw-r--r-- | source/blender/io/gpencil/intern/gpencil_io_export_svg.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/gpencil/intern/gpencil_io_export_svg.cc b/source/blender/io/gpencil/intern/gpencil_io_export_svg.cc index 58f12e9b8b1..8acb87f8e58 100644 --- a/source/blender/io/gpencil/intern/gpencil_io_export_svg.cc +++ b/source/blender/io/gpencil/intern/gpencil_io_export_svg.cc @@ -197,7 +197,7 @@ void GpencilExporterSVG::export_gpencil_layers() /* Apply layer thickness change. */ gps_duplicate->thickness += gpl->line_change; /* Apply object scale to thickness. */ - gps_duplicate->thickness *= mat4_to_scale(ob->obmat); + gps_duplicate->thickness *= mat4_to_scale(ob->object_to_world); CLAMP_MIN(gps_duplicate->thickness, 1.0f); const bool is_normalized = ((params_.flag & GP_EXPORT_NORM_THICKNESS) != 0) || |