diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/UnaryFunction0D')
10 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp index a6810d0a7c5..fc906475694 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp @@ -128,7 +128,7 @@ static char UnaryFunction0DDouble_getName___doc__[] = static PyObject * UnaryFunction0DDouble_getName( BPy_UnaryFunction0DDouble *self ) { - return PyUnicode_FromFormat( self->uf0D_double->getName().c_str() ); + return PyUnicode_FromString( self->uf0D_double->getName().c_str() ); } static PyObject * UnaryFunction0DDouble___call__( BPy_UnaryFunction0DDouble *self, PyObject *args, PyObject *kwds) diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DEdgeNature.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DEdgeNature.cpp index aa2ae5e36b5..5ecaa5730f6 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DEdgeNature.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DEdgeNature.cpp @@ -72,7 +72,7 @@ static char UnaryFunction0DEdgeNature_getName___doc__[] = static PyObject * UnaryFunction0DEdgeNature_getName( BPy_UnaryFunction0DEdgeNature *self ) { - return PyUnicode_FromFormat( self->uf0D_edgenature->getName().c_str() ); + return PyUnicode_FromString( self->uf0D_edgenature->getName().c_str() ); } static PyObject * UnaryFunction0DEdgeNature___call__( BPy_UnaryFunction0DEdgeNature *self, PyObject *args, PyObject *kwds) diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp index ade1082cf64..89ad444b832 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp @@ -102,7 +102,7 @@ static char UnaryFunction0DFloat_getName___doc__[] = static PyObject * UnaryFunction0DFloat_getName( BPy_UnaryFunction0DFloat *self ) { - return PyUnicode_FromFormat( self->uf0D_float->getName().c_str() ); + return PyUnicode_FromString( self->uf0D_float->getName().c_str() ); } static PyObject * UnaryFunction0DFloat___call__( BPy_UnaryFunction0DFloat *self, PyObject *args, PyObject *kwds) diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp index a29eabcc063..fbf97baa0e4 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp @@ -72,7 +72,7 @@ static char UnaryFunction0DId_getName___doc__[] = static PyObject * UnaryFunction0DId_getName( BPy_UnaryFunction0DId *self ) { - return PyUnicode_FromFormat( self->uf0D_id->getName().c_str() ); + return PyUnicode_FromString( self->uf0D_id->getName().c_str() ); } static PyObject * UnaryFunction0DId___call__( BPy_UnaryFunction0DId *self, PyObject *args, PyObject *kwds) diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp index 818af164a99..a07da518c41 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp @@ -73,7 +73,7 @@ static char UnaryFunction0DMaterial_getName___doc__[] = static PyObject * UnaryFunction0DMaterial_getName( BPy_UnaryFunction0DMaterial *self ) { - return PyUnicode_FromFormat( self->uf0D_material->getName().c_str() ); + return PyUnicode_FromString( self->uf0D_material->getName().c_str() ); } static PyObject * UnaryFunction0DMaterial___call__( BPy_UnaryFunction0DMaterial *self, PyObject *args, PyObject *kwds) diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp index ddf42e7851d..73ece629639 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp @@ -72,7 +72,7 @@ static char UnaryFunction0DUnsigned_getName___doc__[] = static PyObject * UnaryFunction0DUnsigned_getName( BPy_UnaryFunction0DUnsigned *self ) { - return PyUnicode_FromFormat( self->uf0D_unsigned->getName().c_str() ); + return PyUnicode_FromString( self->uf0D_unsigned->getName().c_str() ); } static PyObject * UnaryFunction0DUnsigned___call__( BPy_UnaryFunction0DUnsigned *self, PyObject *args, PyObject *kwds) diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp index faca476f319..bdd9ca5db2b 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp @@ -78,7 +78,7 @@ static char UnaryFunction0DVec2f_getName___doc__[] = static PyObject * UnaryFunction0DVec2f_getName( BPy_UnaryFunction0DVec2f *self ) { - return PyUnicode_FromFormat( self->uf0D_vec2f->getName().c_str() ); + return PyUnicode_FromString( self->uf0D_vec2f->getName().c_str() ); } static PyObject * UnaryFunction0DVec2f___call__( BPy_UnaryFunction0DVec2f *self, PyObject *args, PyObject *kwds) diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp index f329007fd70..0f99299b47e 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp @@ -72,7 +72,7 @@ static char UnaryFunction0DVec3f_getName___doc__[] = static PyObject * UnaryFunction0DVec3f_getName( BPy_UnaryFunction0DVec3f *self ) { - return PyUnicode_FromFormat( self->uf0D_vec3f->getName().c_str() ); + return PyUnicode_FromString( self->uf0D_vec3f->getName().c_str() ); } static PyObject * UnaryFunction0DVec3f___call__( BPy_UnaryFunction0DVec3f *self, PyObject *args, PyObject *kwds) diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp index 351935141c5..c0c3f700b65 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp @@ -73,7 +73,7 @@ static char UnaryFunction0DVectorViewShape_getName___doc__[] = static PyObject * UnaryFunction0DVectorViewShape_getName( BPy_UnaryFunction0DVectorViewShape *self ) { - return PyUnicode_FromFormat( self->uf0D_vectorviewshape->getName().c_str() ); + return PyUnicode_FromString( self->uf0D_vectorviewshape->getName().c_str() ); } static PyObject * UnaryFunction0DVectorViewShape___call__( BPy_UnaryFunction0DVectorViewShape *self, PyObject *args, PyObject *kwds) diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp index e3e8538009d..a51969dedc6 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp @@ -78,7 +78,7 @@ static char UnaryFunction0DViewShape_getName___doc__[] = static PyObject * UnaryFunction0DViewShape_getName( BPy_UnaryFunction0DViewShape *self ) { - return PyUnicode_FromFormat( self->uf0D_viewshape->getName().c_str() ); + return PyUnicode_FromString( self->uf0D_viewshape->getName().c_str() ); } static PyObject * UnaryFunction0DViewShape___call__( BPy_UnaryFunction0DViewShape *self, PyObject *args, PyObject *kwds) |