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:
authorMaxime Curioni <maxime.curioni@gmail.com>2008-08-02 11:54:19 +0400
committerMaxime Curioni <maxime.curioni@gmail.com>2008-08-02 11:54:19 +0400
commitc367bc3885617e37a50a5cd8768609abdf6c705d (patch)
treee31cddfe915f7dc4045107267fc9a9df0cc0f1c1 /source/blender/freestyle
parente385d69580de32df6dcfd009853ddd4eb8a3191e (diff)
soc-2008-mxcurioni: clean up
Diffstat (limited to 'source/blender/freestyle')
-rwxr-xr-xsource/blender/freestyle/intern/stroke/Operators.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/source/blender/freestyle/intern/stroke/Operators.cpp b/source/blender/freestyle/intern/stroke/Operators.cpp
index 6221f6c16f1..ebc3aa3174c 100755
--- a/source/blender/freestyle/intern/stroke/Operators.cpp
+++ b/source/blender/freestyle/intern/stroke/Operators.cpp
@@ -814,14 +814,8 @@ Stroke* createStroke(Interface1D& inter) {
inline void applyShading(Stroke& stroke, vector<StrokeShader*>& shaders) {
- for (vector<StrokeShader*>::iterator it = shaders.begin(); it != shaders.end(); ++it) {
- StrokeShader *ss = *it;
- string name( ss->py_ss ? PyString_AsString(PyObject_CallMethod(ss->py_ss, "getName", "")) : ss->getName() );
-
- cout << "Shading: " << name << endl;
+ for (vector<StrokeShader*>::iterator it = shaders.begin(); it != shaders.end(); ++it)
(*it)->shade(stroke);
-
- }
}