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:
authorCampbell Barton <ideasman42@gmail.com>2006-09-30 18:14:49 +0400
committerCampbell Barton <ideasman42@gmail.com>2006-09-30 18:14:49 +0400
commit32b1e2383bf50ebe30c26618496ec966620d1d23 (patch)
tree373e50c9d290f46ba33096821cf17ba54003d8ed /source/blender/python/api2_2x/logic.c
parent8e7b4039247419a34093b06b5a05c2423d2cab05 (diff)
3rd attempt to commit, metaball fixes and small vector optimization
Diffstat (limited to 'source/blender/python/api2_2x/logic.c')
-rw-r--r--source/blender/python/api2_2x/logic.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/python/api2_2x/logic.c b/source/blender/python/api2_2x/logic.c
index 50163af41fc..5af991e9f20 100644
--- a/source/blender/python/api2_2x/logic.c
+++ b/source/blender/python/api2_2x/logic.c
@@ -542,15 +542,15 @@ static PyObject *Property_getType( BPy_Property * self )
type = self->type;
if( type == PROP_BOOL )
- attr = Py_BuildValue( "s", "BOOL" );
+ attr = PyString_FromString( "BOOL" );
else if( type == PROP_INT )
- attr = Py_BuildValue( "s", "INT" );
+ attr = PyString_FromString( "INT" );
else if( type == PROP_FLOAT )
- attr = Py_BuildValue( "s", "FLOAT" );
+ attr = PyString_FromString( "FLOAT" );
else if( type == PROP_STRING )
- attr = Py_BuildValue( "s", "STRING" );
+ attr = PyString_FromString( "STRING" );
else if( type == PROP_TIME )
- attr = Py_BuildValue( "s", "TIME" );
+ attr = PyString_FromString( "TIME" );
return attr;
}