diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-02 06:14:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-02 06:14:51 +0300 |
commit | c00e1f68e9b81cc4972dabb869d1b6993a3bc767 (patch) | |
tree | f95ae6304cffba3c2a1b4730a1b7ea9bb0287bae /source/blender/editors/object/object_edit.c | |
parent | a9bd788348484fb4a62654ea3ffa60ed24b94ff3 (diff) |
Cleanup: BKE_effect.h naming
Diffstat (limited to 'source/blender/editors/object/object_edit.c')
-rw-r--r-- | source/blender/editors/object/object_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_edit.c b/source/blender/editors/object/object_edit.c index fc967dc424e..b4e17ce3528 100644 --- a/source/blender/editors/object/object_edit.c +++ b/source/blender/editors/object/object_edit.c @@ -1216,7 +1216,7 @@ static int forcefield_toggle_exec(bContext *C, wmOperator *UNUSED(op)) Object *ob = CTX_data_active_object(C); if (ob->pd == NULL) - ob->pd = object_add_collision_fields(PFIELD_FORCE); + ob->pd = BKE_partdeflect_new(PFIELD_FORCE); else if (ob->pd->forcefield == 0) ob->pd->forcefield = PFIELD_FORCE; else |