fix issue. add feat.

- add ignored bmesh update function in flatten uv
- finish select by group, add, rm, clear group functions.
This commit is contained in:
2023-12-30 22:17:42 +08:00
parent c5ce6e8a2c
commit 20aba6c273
5 changed files with 244 additions and 14 deletions

View File

@ -301,6 +301,8 @@ def _real_flatten_uv(mesh: bpy.types.Mesh, reference_edge: int, scale_data: _Fla
# just get abs for the u component
_set_face_vertex_uv(face, uv_layer, idx, (abs(ppuv.x), ppuv.y))
# show the updates in the viewport
bmesh.update_edit_mesh(mesh)
# return process result
return no_processed_count