Cleanup: Use correct float format

This commit is contained in:
Antonio Vazquez 2021-04-15 19:10:38 +02:00
parent 32d3b07b03
commit 018fa1fce3
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {