Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-02-17 10:05:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-17 10:05:18 +0300
commite0e6229176573484431d2bbf3ba0c2f849522789 (patch)
treebdf220c75443dfa2e5f5a4f59c1a380044a443cf /source/blender/editors/uvedit
parent203b964ff4da6f4c6cd54937e0dd704ff1cfc7b0 (diff)
Cleanup: rename Mesh.edit_btmesh -> edit_mesh
When bmesh was in a branch we had both edit_mesh and edit_btmesh, now there is no reason to use this odd name.
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r--source/blender/editors/uvedit/uvedit_draw.c2
-rw-r--r--source/blender/editors/uvedit/uvedit_ops.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/uvedit/uvedit_draw.c b/source/blender/editors/uvedit/uvedit_draw.c
index 724ef6970ea..04ef2883c76 100644
--- a/source/blender/editors/uvedit/uvedit_draw.c
+++ b/source/blender/editors/uvedit/uvedit_draw.c
@@ -268,7 +268,7 @@ static void draw_uvs(SpaceImage *sima, Scene *scene, Object *obedit, Depsgraph *
if (sima->flag & SI_DRAWSHADOW) {
bool is_cage_like_final_meshes = false;
Mesh *me = (Mesh *)eval_ob->data;
- BMEditMesh *embm = me->edit_btmesh;
+ BMEditMesh *embm = me->edit_mesh;
is_cage_like_final_meshes = embm &&
embm->mesh_eval_final &&
embm->mesh_eval_final->runtime.is_original;
diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c
index 8ec5fa5e57a..5d19973941f 100644
--- a/source/blender/editors/uvedit/uvedit_ops.c
+++ b/source/blender/editors/uvedit/uvedit_ops.c
@@ -4431,7 +4431,7 @@ static int uv_seams_from_islands_exec(bContext *C, wmOperator *op)
for (uint ob_index = 0; ob_index < objects_len; ob_index++) {
Object *ob = objects[ob_index];
Mesh *me = (Mesh *)ob->data;
- BMEditMesh *em = me->edit_btmesh;
+ BMEditMesh *em = me->edit_mesh;
BMesh *bm = em->bm;
UvVertMap *vmap;
@@ -4578,7 +4578,7 @@ static int uv_mark_seam_exec(bContext *C, wmOperator *op)
for (uint ob_index = 0; ob_index < objects_len; ob_index++) {
Object *ob = objects[ob_index];
Mesh *me = (Mesh *)ob->data;
- BMEditMesh *em = me->edit_btmesh;
+ BMEditMesh *em = me->edit_mesh;
BMesh *bm = em->bm;
if (synced_selection && (bm->totedgesel == 0)) {