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:
authorJoseph Eagar <joeedh@gmail.com>2006-11-19 19:00:04 +0300
committerJoseph Eagar <joeedh@gmail.com>2006-11-19 19:00:04 +0300
commit6e086d4cfe88a62e0ec7f6e1a6731c0685896078 (patch)
tree3b481fa3c66bd7795c57fe1c5155e4e9ecea8192 /source/blender/python/api2_2x/Scene.c
parentb861f9b9a61952c80774e5fa41b0be1b543684cb (diff)
=ID Properties Python Update=
ID Properties binding have now been added for textures. Also, the beginnings of supporting "del IDProperty Object" (which basically removes the property from it's parent group then frees it) in python were done; really the only thing now is to figure out exactly *how* you overload the del operator. :S
Diffstat (limited to 'source/blender/python/api2_2x/Scene.c')
-rw-r--r--source/blender/python/api2_2x/Scene.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Scene.c b/source/blender/python/api2_2x/Scene.c
index f76da8f6174..1fb5badc1c4 100644
--- a/source/blender/python/api2_2x/Scene.c
+++ b/source/blender/python/api2_2x/Scene.c
@@ -283,7 +283,7 @@ static PyObject *Scene_getAttr( BPy_Scene * self, char *name )
attr = PyString_FromString( self->scene->id.name + 2 );
else if ( strcmp( name, "properties" ) == 0 )
- return BPy_Wrap_IDProperty( (ID*)self->scene, IDP_GetProperties((ID*)self->scene, 1) );
+ return BPy_Wrap_IDProperty( (ID*)self->scene, IDP_GetProperties((ID*)self->scene, 1), NULL );
/* accept both Layer (for compatibility with ob.Layer) and Layers */
else if( strncmp( name, "Layer", 5 ) == 0 )