[Bf-blender-cvs] [522320dadf5] master: Fix T64738: pick short path seam not doing live unwrap
Brecht Van Lommel
noreply at git.blender.org
Tue May 21 18:08:38 CEST 2019
Commit: 522320dadf5a675e3fb94084bb8eddfe55b15127
Author: Brecht Van Lommel
Date: Tue May 21 18:07:47 2019 +0200
Branches: master
https://developer.blender.org/rB522320dadf5a675e3fb94084bb8eddfe55b15127
Fix T64738: pick short path seam not doing live unwrap
===================================================================
M source/blender/editors/mesh/editmesh_path.c
===================================================================
diff --git a/source/blender/editors/mesh/editmesh_path.c b/source/blender/editors/mesh/editmesh_path.c
index aafa25a8242..6fd0ee83b6c 100644
--- a/source/blender/editors/mesh/editmesh_path.c
+++ b/source/blender/editors/mesh/editmesh_path.c
@@ -375,7 +375,7 @@ static void edgetag_ensure_cd_flag(Mesh *me, const char edge_mode)
/* mesh shortest path select, uses prev-selected edge */
/* since you want to create paths with multiple selects, it doesn't have extend option */
-static void mouse_mesh_shortest_path_edge(Scene *UNUSED(scene),
+static void mouse_mesh_shortest_path_edge(Scene *scene,
Object *obedit,
const struct PathSelectParams *op_params,
BMEdge *e_act,
@@ -477,6 +477,10 @@ static void mouse_mesh_shortest_path_edge(Scene *UNUSED(scene),
}
EDBM_update_generic(em, false, false);
+
+ if (op_params->edge_mode == EDGE_MODE_TAG_SEAM) {
+ ED_uvedit_live_unwrap(scene, &obedit, 1);
+ }
}
/** \} */
More information about the Bf-blender-cvs
mailing list