[Bf-blender-cvs] [18e8350cd1d] blender2.8: Cleanup: Hopefully more clear name

Sergey Sharybin noreply at git.blender.org
Mon Jun 4 16:22:40 CEST 2018


Commit: 18e8350cd1d9bb7175209eac915225c1166cbbab
Author: Sergey Sharybin
Date:   Mon Jun 4 16:20:39 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB18e8350cd1d9bb7175209eac915225c1166cbbab

Cleanup: Hopefully more clear name

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

M	source/blender/blenkernel/BKE_object.h
M	source/blender/blenkernel/intern/object.c

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

diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h
index ded6aa425d8..7ff0093db6c 100644
--- a/source/blender/blenkernel/BKE_object.h
+++ b/source/blender/blenkernel/BKE_object.h
@@ -275,7 +275,7 @@ int BKE_object_obdata_texspace_get(struct Object *ob, short **r_texflag, float *
 
 struct Mesh *BKE_object_get_evaluated_mesh(const struct Depsgraph *depsgraph, struct Object *ob);
 struct Mesh *BKE_object_get_final_mesh(struct Object *object);
-struct Mesh *BKE_object_get_unmodified_mesh(struct Object *object);
+struct Mesh *BKE_object_get_pre_modified_mesh(struct Object *object);
 struct Mesh *BKE_object_get_original_mesh(struct Object *object);
 
 int BKE_object_insert_ptcache(struct Object *ob);
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c
index 6da8d7fc154..522ed65174c 100644
--- a/source/blender/blenkernel/intern/object.c
+++ b/source/blender/blenkernel/intern/object.c
@@ -2870,7 +2870,7 @@ Mesh *BKE_object_get_final_mesh(Object *object)
  * - For copied-on-write objects it will give pointer to a copied-on-write
  *   mesh which corresponds to original object's mesh.
  */
-Mesh *BKE_object_get_unmodified_mesh(Object *object)
+Mesh *BKE_object_get_pre_modified_mesh(Object *object)
 {
 	if (object->runtime.mesh_orig != NULL) {
 		BLI_assert(object->id.tag & LIB_TAG_COPIED_ON_WRITE);



More information about the Bf-blender-cvs mailing list