Cleanup: Fix typo: updata -> update

This commit is contained in:
Germano Cavalcante 2018-05-28 13:05:56 -03:00
parent f8d0447dfb
commit 46d7c55b17
1 changed files with 8 additions and 8 deletions

View File

@ -413,7 +413,7 @@ int foreach_libblock_remap_callback(void *user_data_v,
return IDWALK_RET_NOP;
}
void updata_armature_edit_mode_pointers(const Depsgraph * /*depsgraph*/,
void update_armature_edit_mode_pointers(const Depsgraph * /*depsgraph*/,
const ID *id_orig, ID *id_cow)
{
const bArmature *armature_orig = (const bArmature *)id_orig;
@ -421,7 +421,7 @@ void updata_armature_edit_mode_pointers(const Depsgraph * /*depsgraph*/,
armature_cow->edbo = armature_orig->edbo;
}
void updata_curve_edit_mode_pointers(const Depsgraph * /*depsgraph*/,
void update_curve_edit_mode_pointers(const Depsgraph * /*depsgraph*/,
const ID *id_orig, ID *id_cow)
{
const Curve *curve_orig = (const Curve *)id_orig;
@ -438,7 +438,7 @@ void update_mball_edit_mode_pointers(const Depsgraph * /*depsgraph*/,
mball_cow->editelems = mball_orig->editelems;
}
void updata_mesh_edit_mode_pointers(const Depsgraph *depsgraph,
void update_mesh_edit_mode_pointers(const Depsgraph *depsgraph,
const ID *id_orig, ID *id_cow)
{
/* For meshes we need to update edit_btmesh to make it to point
@ -463,19 +463,19 @@ void updata_mesh_edit_mode_pointers(const Depsgraph *depsgraph,
/* Edit data is stored and owned by original datablocks, copied ones
* are simply referencing to them.
*/
void updata_edit_mode_pointers(const Depsgraph *depsgraph,
void update_edit_mode_pointers(const Depsgraph *depsgraph,
const ID *id_orig, ID *id_cow)
{
const ID_Type type = GS(id_orig->name);
switch (type) {
case ID_AR:
updata_armature_edit_mode_pointers(depsgraph, id_orig, id_cow);
update_armature_edit_mode_pointers(depsgraph, id_orig, id_cow);
break;
case ID_ME:
updata_mesh_edit_mode_pointers(depsgraph, id_orig, id_cow);
update_mesh_edit_mode_pointers(depsgraph, id_orig, id_cow);
break;
case ID_CU:
updata_curve_edit_mode_pointers(depsgraph, id_orig, id_cow);
update_curve_edit_mode_pointers(depsgraph, id_orig, id_cow);
break;
case ID_MB:
update_mball_edit_mode_pointers(depsgraph, id_orig, id_cow);
@ -530,7 +530,7 @@ void update_special_pointers(const Depsgraph *depsgraph,
default:
break;
}
updata_edit_mode_pointers(depsgraph, id_orig, id_cow);
update_edit_mode_pointers(depsgraph, id_orig, id_cow);
}
/* This callback is used to validate that all nested ID datablocks are