Cleanup: rename BKE_key_convert/update to BKE_keyblock_convert/update.
We are handling a keyblock here, not a whole key(set). Names are alreay a bit confusing, let's be consistent at least.
This commit is contained in:
@@ -560,7 +560,7 @@ static int modifier_apply_shape(ReportList *reports, Scene *scene, Object *ob, M
|
||||
/* if that was the first key block added, then it was the basis.
|
||||
* Initialize it with the mesh, and add another for the modifier */
|
||||
kb = BKE_keyblock_add(key, NULL);
|
||||
BKE_key_convert_from_mesh(me, kb);
|
||||
BKE_keyblock_convert_from_mesh(me, kb);
|
||||
}
|
||||
|
||||
kb = BKE_keyblock_add(key, md->name);
|
||||
|
||||
Reference in New Issue
Block a user