diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-28 16:33:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-28 16:33:56 +0300 |
commit | a2b370dd6f55d6114da3ec1d86788e9c9786822f (patch) | |
tree | 8f5adc8b06e8f9506155e4906dd7ff5d11fdc987 /source/blender/editors/physics/particle_object.c | |
parent | c4933cccfa74836ff88a6904abfaf52c8e0cde87 (diff) |
py/rna api
- object.modifiers.add()/remove()
- armature.edit_bones.active wasnt named correctly
Diffstat (limited to 'source/blender/editors/physics/particle_object.c')
-rw-r--r-- | source/blender/editors/physics/particle_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/physics/particle_object.c b/source/blender/editors/physics/particle_object.c index 1ef3ffa6c34..d29280876d0 100644 --- a/source/blender/editors/physics/particle_object.c +++ b/source/blender/editors/physics/particle_object.c @@ -69,7 +69,7 @@ static int particle_system_add_exec(bContext *C, wmOperator *op) if(!scene || !ob) return OPERATOR_CANCELLED; - object_add_particle_system(scene, ob); + object_add_particle_system(scene, ob, NULL); WM_event_add_notifier(C, NC_OBJECT|ND_DRAW, ob); return OPERATOR_FINISHED; |