"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "source/blender/editors/uvedit/uvedit_ops.c" between
blender-2.93.0.tar.xz and blender-2.93.1.tar.xz

About: Blender is a 3D graphics creation suite allowing modeling, animation, rendering, post-production, realtime interactive 3D and game creation and playback with cross-platform compatibility. LTS (Long Term Support) release.

uvedit_ops.c  (blender-2.93.0.tar.xz):uvedit_ops.c  (blender-2.93.1.tar.xz)
skipping to change at line 1474 skipping to change at line 1474
BMLoop *l; BMLoop *l;
BMIter iter, liter; BMIter iter, liter;
MLoopUV *luv; MLoopUV *luv;
const int cd_loop_uv_offset = CustomData_get_offset(&em->bm->ldata, CD_MLOOP UV); const int cd_loop_uv_offset = CustomData_get_offset(&em->bm->ldata, CD_MLOOP UV);
if (ts->uv_flag & UV_SYNC_SELECTION) { if (ts->uv_flag & UV_SYNC_SELECTION) {
if (EDBM_mesh_hide(em, swap)) { if (EDBM_mesh_hide(em, swap)) {
EDBM_update_generic(ob->data, true, false); EDBM_update_generic(ob->data, true, false);
} }
return OPERATOR_FINISHED; continue;
} }
BM_ITER_MESH (efa, &iter, em->bm, BM_FACES_OF_MESH) { BM_ITER_MESH (efa, &iter, em->bm, BM_FACES_OF_MESH) {
int hide = 0; int hide = 0;
if (!uvedit_face_visible_test(scene, efa)) { if (!uvedit_face_visible_test(scene, efa)) {
continue; continue;
} }
BM_ITER_ELEM (l, &liter, efa, BM_LOOPS_OF_FACE) { BM_ITER_ELEM (l, &liter, efa, BM_LOOPS_OF_FACE) {
skipping to change at line 1612 skipping to change at line 1612
const int cd_loop_uv_offset = CustomData_get_offset(&em->bm->ldata, CD_MLOOP UV); const int cd_loop_uv_offset = CustomData_get_offset(&em->bm->ldata, CD_MLOOP UV);
/* note on tagging, selecting faces needs to be delayed so it doesn't select the verts and /* note on tagging, selecting faces needs to be delayed so it doesn't select the verts and
* confuse our checks on selected verts. */ * confuse our checks on selected verts. */
/* call the mesh function if we are in mesh sync sel */ /* call the mesh function if we are in mesh sync sel */
if (ts->uv_flag & UV_SYNC_SELECTION) { if (ts->uv_flag & UV_SYNC_SELECTION) {
if (EDBM_mesh_reveal(em, select)) { if (EDBM_mesh_reveal(em, select)) {
EDBM_update_generic(ob->data, true, false); EDBM_update_generic(ob->data, true, false);
} }
return OPERATOR_FINISHED; continue;
} }
if (use_face_center) { if (use_face_center) {
if (em->selectmode == SCE_SELECT_FACE) { if (em->selectmode == SCE_SELECT_FACE) {
BM_ITER_MESH (efa, &iter, em->bm, BM_FACES_OF_MESH) { BM_ITER_MESH (efa, &iter, em->bm, BM_FACES_OF_MESH) {
BM_elem_flag_disable(efa, BM_ELEM_TAG); BM_elem_flag_disable(efa, BM_ELEM_TAG);
if (!BM_elem_flag_test(efa, BM_ELEM_HIDDEN) && !BM_elem_flag_test(efa, BM_ELEM_SELECT)) { if (!BM_elem_flag_test(efa, BM_ELEM_HIDDEN) && !BM_elem_flag_test(efa, BM_ELEM_SELECT)) {
BM_ITER_ELEM (l, &liter, efa, BM_LOOPS_OF_FACE) { BM_ITER_ELEM (l, &liter, efa, BM_LOOPS_OF_FACE) {
luv = BM_ELEM_CD_GET_VOID_P(l, cd_loop_uv_offset); luv = BM_ELEM_CD_GET_VOID_P(l, cd_loop_uv_offset);
SET_FLAG_FROM_TEST(luv->flag, select, MLOOPUV_VERTSEL); SET_FLAG_FROM_TEST(luv->flag, select, MLOOPUV_VERTSEL);
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)