diff options
Diffstat (limited to 'source/blender/freestyle/intern/stroke/Operators.cpp')
-rw-r--r-- | source/blender/freestyle/intern/stroke/Operators.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/stroke/Operators.cpp b/source/blender/freestyle/intern/stroke/Operators.cpp index e35a811fcab..df2c3dad175 100644 --- a/source/blender/freestyle/intern/stroke/Operators.cpp +++ b/source/blender/freestyle/intern/stroke/Operators.cpp @@ -515,7 +515,7 @@ int Operators::sequentialSplit(UnaryPredicate0D& pred, float sampling) point = dynamic_cast<CurvePoint*>(&(*it)); new_curve->push_vertex_back(point); ++it; - for (; it!= end; ++it) { + for (; it != end; ++it) { point = dynamic_cast<CurvePoint*>(&(*it)); new_curve->push_vertex_back(point); if (pred(it) < 0) { @@ -623,14 +623,14 @@ int Operators::sequentialSplit(UnaryPredicate0D& startingPred, UnaryPredicate0D& splitted_chains.push_back(new_curve); } // find next start - do{ + do { ++itStart; if (itStart == end) break; if (startingPred(itStart) < 0) goto error; } while (!startingPred.result); - } while ((itStart!=end) && (itStart!=last)); + } while ((itStart != end) && (itStart != last)); } // Update the current set of chains: |