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/stroke/StrokeRep.cpp')
-rw-r--r--source/blender/freestyle/intern/stroke/StrokeRep.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/stroke/StrokeRep.cpp b/source/blender/freestyle/intern/stroke/StrokeRep.cpp
index 282c72617f0..89567d7e780 100644
--- a/source/blender/freestyle/intern/stroke/StrokeRep.cpp
+++ b/source/blender/freestyle/intern/stroke/StrokeRep.cpp
@@ -837,11 +837,11 @@ void StrokeRep::create()
bool first = true;
bool end = false;
while (v != vend) {
- while ((v != vend) && (!(*v).attribute().isVisible())) {
+ while ((v != vend) && !(*v).attribute().isVisible()) {
++v;
first = false;
}
- while ((v != vend) && ((*v).attribute().isVisible())) {
+ while ((v != vend) && (*v).attribute().isVisible()) {
strip.push_back(&(*v));
++v;
}
@@ -852,7 +852,7 @@ void StrokeRep::create()
else {
end = true;
}
- if ((!strip.empty()) && (strip.size() > 1)) {
+ if (!strip.empty() && (strip.size() > 1)) {
_strips.push_back(new Strip(strip, _hasTex, first, end, _textureStep));
strip.clear();
}