Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-03-25 04:04:19 +0300
committerCampbell Barton <campbell@blender.org>2022-03-25 04:04:19 +0300
commitc594cfbe50497fdc365b3f327b643de507cda02f (patch)
treedab180e876b849f2ea66082e167e40f15f77a6fa /source/blender/render/intern
parentbbd787275ff5cfebacc859b0789acf769dab3a36 (diff)
Cleanup: use array syntax for sizeof, zero before float suffix
Diffstat (limited to 'source/blender/render/intern')
-rw-r--r--source/blender/render/intern/texture_margin.cc4
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;
}
/**