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:
authorKen Hughes <khughes@pacific.edu>2005-11-30 23:18:54 +0300
committerKen Hughes <khughes@pacific.edu>2005-11-30 23:18:54 +0300
commit22188fba21880caa88a108db13f41c947c76f8c5 (patch)
treeec842d691a52d0e1c80b0b7b0c3d292e75329ac3 /source/blender/python/api2_2x/Effect.c
parentec2644fe5cd1fa1a5d845676ce8c577ec55277ba (diff)
-- previous commit was decrefing a borrowed reference; thanks Ascotan for
tracking this down!
Diffstat (limited to 'source/blender/python/api2_2x/Effect.c')
-rw-r--r--source/blender/python/api2_2x/Effect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Effect.c b/source/blender/python/api2_2x/Effect.c
index fab16c7e8f3..975770f2d3a 100644
--- a/source/blender/python/api2_2x/Effect.c
+++ b/source/blender/python/api2_2x/Effect.c
@@ -734,7 +734,7 @@ PyObject *Effect_Init( void )
dict = PyModule_GetDict( submodule );
- EXPP_dict_set_item_str( dict, "Particle", particle );
+ PyDict_SetItemString( dict, "Particle", particle );
return ( submodule );
}