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>2009-12-28 18:26:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-12-28 18:26:36 +0300
commit32656ad4ba6af89fcbd8247bc219e55be802ebdc (patch)
tree031e69ef4c1184963a84a87dc76416942df0a5c5 /source/blender/editors/object/object_modifier.c
parente09d77507e0d666d47b344a7043cc6f2154f1a5d (diff)
moved shape key insert function into BKE_object.h
Diffstat (limited to 'source/blender/editors/object/object_modifier.c')
-rw-r--r--source/blender/editors/object/object_modifier.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/object/object_modifier.c b/source/blender/editors/object/object_modifier.c
index 552de1f8f60..8bfc9a66690 100644
--- a/source/blender/editors/object/object_modifier.c
+++ b/source/blender/editors/object/object_modifier.c
@@ -370,11 +370,11 @@ static int modifier_apply_shape(ReportList *reports, Scene *scene, Object *ob, M
key->type= KEY_RELATIVE;
/* if that was the first key block added, then it was the basis.
* Initialise it with the mesh, and add another for the modifier */
- kb= add_keyblock(scene, key);
+ kb= add_keyblock(key);
mesh_to_key(me, kb);
}
- kb= add_keyblock(scene, key);
+ kb= add_keyblock(key);
DM_to_meshkey(dm, me, kb);
dm->release(dm);