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/freestyle/intern/view_map/Functions0D.cpp')
-rw-r--r--source/blender/freestyle/intern/view_map/Functions0D.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/view_map/Functions0D.cpp b/source/blender/freestyle/intern/view_map/Functions0D.cpp
index d05107dc264..2157c533986 100644
--- a/source/blender/freestyle/intern/view_map/Functions0D.cpp
+++ b/source/blender/freestyle/intern/view_map/Functions0D.cpp
@@ -203,11 +203,11 @@ int Curvature2DAngleF0D::operator()(Interface0DIterator &iter)
Interface0DIterator tmp1 = iter, tmp2 = iter;
++tmp2;
uint count = 1;
- while ((!tmp1.isBegin()) && (count < 3)) {
+ while (!tmp1.isBegin() && (count < 3)) {
--tmp1;
++count;
}
- while ((!tmp2.isEnd()) && (count < 3)) {
+ while (!tmp2.isEnd() && (count < 3)) {
++tmp2;
++count;
}