diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2021-04-15 20:10:38 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2021-04-15 20:14:00 +0300 |
commit | 018fa1fce3b28ca65ff9393a40ab9551f3c12bb8 (patch) | |
tree | e5375bb14a4a03d974dc6720e734b441aec4a94b /source/blender | |
parent | 32d3b07b030bd6a9a5c36bc6091f519952297427 (diff) |
Cleanup: Use correct float format
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/io/gpencil/intern/gpencil_io_base.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/gpencil/intern/gpencil_io_base.cc b/source/blender/io/gpencil/intern/gpencil_io_base.cc index c60055eccaf..bfa3abb1dcd 100644 --- a/source/blender/io/gpencil/intern/gpencil_io_base.cc +++ b/source/blender/io/gpencil/intern/gpencil_io_base.cc @@ -303,7 +303,7 @@ void GpencilIO::prepare_stroke_export_colors(Object *ob, bGPDstroke *gps) /* Stroke color. */ copy_v4_v4(stroke_color_, gp_style->stroke_rgba); - avg_opacity_ = 0; + avg_opacity_ = 0.0f; /* Get average vertex color and apply. */ float avg_color[4] = {0.0f, 0.0f, 0.0f, 0.0f}; for (const bGPDspoint &pt : Span(gps->points, gps->totpoints)) { |