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/python/BPy_StrokeShader.cpp')
-rw-r--r--source/blender/freestyle/intern/python/BPy_StrokeShader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_StrokeShader.cpp b/source/blender/freestyle/intern/python/BPy_StrokeShader.cpp
index 820f029223f..c28025227ff 100644
--- a/source/blender/freestyle/intern/python/BPy_StrokeShader.cpp
+++ b/source/blender/freestyle/intern/python/BPy_StrokeShader.cpp
@@ -209,7 +209,7 @@ static char StrokeShader_getName___doc__[] =
static PyObject * StrokeShader_getName( BPy_StrokeShader *self, PyObject *args)
{
- return PyUnicode_FromFormat( self->ss->getName().c_str() );
+ return PyUnicode_FromString( self->ss->getName().c_str() );
}
static char StrokeShader_shade___doc__[] =