diff options
Diffstat (limited to 'source/blender/render/intern')
-rw-r--r-- | source/blender/render/intern/texture_margin.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/render/intern/texture_margin.cc b/source/blender/render/intern/texture_margin.cc index adc11cd925e..d01c0dbea71 100644 --- a/source/blender/render/intern/texture_margin.cc +++ b/source/blender/render/intern/texture_margin.cc @@ -331,7 +331,7 @@ class TextureMarginMap { float destx, desty; int foundpoly; - float mindist = -1.f; + float mindist = -1.0f; /* Loop over all adjacent polygons and determine which edge is closest. * This could be optimized by only inspecting neighbors which are on the edge of an island. @@ -356,7 +356,7 @@ class TextureMarginMap { } } - return mindist >= 0.f; + return mindist >= 0.0f; } /** |