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/StrokeLayer.cpp')
-rw-r--r--source/blender/freestyle/intern/stroke/StrokeLayer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/freestyle/intern/stroke/StrokeLayer.cpp b/source/blender/freestyle/intern/stroke/StrokeLayer.cpp
index 14251162168..ae8425625f2 100644
--- a/source/blender/freestyle/intern/stroke/StrokeLayer.cpp
+++ b/source/blender/freestyle/intern/stroke/StrokeLayer.cpp
@@ -36,17 +36,17 @@ StrokeLayer::~StrokeLayer()
clear();
}
-void StrokeLayer::ScaleThickness(float iFactor)
+void StrokeLayer::setLineStyle(struct FreestyleLineStyle *iLineStyle)
{
for (StrokeLayer::stroke_container::iterator s = _strokes.begin(), send = _strokes.end(); s != send; ++s) {
- (*s)->ScaleThickness(iFactor);
+ (*s)->setLineStyle(iLineStyle);
}
}
-void StrokeLayer::SetLineStyle(struct FreestyleLineStyle *iLineStyle)
+void StrokeLayer::ScaleThickness(float iFactor)
{
for (StrokeLayer::stroke_container::iterator s = _strokes.begin(), send = _strokes.end(); s != send; ++s) {
- (*s)->SetLineStyle(iLineStyle);
+ (*s)->ScaleThickness(iFactor);
}
}