diff options
author | Maxime Curioni <maxime.curioni@gmail.com> | 2008-08-02 11:54:19 +0400 |
---|---|---|
committer | Maxime Curioni <maxime.curioni@gmail.com> | 2008-08-02 11:54:19 +0400 |
commit | c367bc3885617e37a50a5cd8768609abdf6c705d (patch) | |
tree | e31cddfe915f7dc4045107267fc9a9df0cc0f1c1 /source/blender | |
parent | e385d69580de32df6dcfd009853ddd4eb8a3191e (diff) |
soc-2008-mxcurioni: clean up
Diffstat (limited to 'source/blender')
-rwxr-xr-x | source/blender/freestyle/intern/stroke/Operators.cpp | 8 |
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); - - } } |