diff options
author | Germano <germano.costa@ig.com.br> | 2018-05-28 19:05:56 +0300 |
---|---|---|
committer | Germano <germano.costa@ig.com.br> | 2018-05-28 19:47:04 +0300 |
commit | 46d7c55b171c24279be12b76e7a5669446181ed4 (patch) | |
tree | 405b3d6bf17d38d28912fd8bb95ae6a63beb8e38 /source/blender/depsgraph/intern/eval | |
parent | f8d0447dfb7cbbfe4a8a29c4e7d23bb5890e421f (diff) |
Cleanup: Fix typo: updata -> update
Diffstat (limited to 'source/blender/depsgraph/intern/eval')
-rw-r--r-- | source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc b/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc index 88e5814baa6..7553c9ea644 100644 --- a/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc +++ b/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc @@ -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 |