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:
Diffstat (limited to 'source/blender/blenkernel/intern/customdata.cc')
-rw-r--r--source/blender/blenkernel/intern/customdata.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/customdata.cc b/source/blender/blenkernel/intern/customdata.cc
index 86be7ba8e7c..c07b4c7964e 100644
--- a/source/blender/blenkernel/intern/customdata.cc
+++ b/source/blender/blenkernel/intern/customdata.cc
@@ -520,7 +520,7 @@ static void layerInterp_propInt(const void **sources,
const float src = *static_cast<const int *>(sources[i]);
result += src * weight;
}
- const int rounded_result = static_cast<int>(round(result));
+ const int rounded_result = int(round(result));
*static_cast<int *>(dest) = rounded_result;
}