[Bf-blender-cvs] [46d7c55b171] blender2.8: Cleanup: Fix typo: updata -> update

Germano noreply at git.blender.org
Mon May 28 18:47:28 CEST 2018


Commit: 46d7c55b171c24279be12b76e7a5669446181ed4
Author: Germano
Date:   Mon May 28 13:05:56 2018 -0300
Branches: blender2.8
https://developer.blender.org/rB46d7c55b171c24279be12b76e7a5669446181ed4

Cleanup: Fix typo: updata -> update

===================================================================

M	source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc

===================================================================

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



More information about the Bf-blender-cvs mailing list