Changeset View
Changeset View
Standalone View
Standalone View
uv_magic_uv/op/texture_wrap.py
| Context not available. | |||||
| if len(common_verts) != 2: | if len(common_verts) != 2: | ||||
| self.report({'WARNING'}, | self.report({'WARNING'}, | ||||
| "2 verticies must be shared among faces") | "2 vertices must be shared among faces") | ||||
| return {'CANCELLED'} | return {'CANCELLED'} | ||||
| # get reference other vertices info | # get reference other vertices info | ||||
| Context not available. | |||||
| for info in tgt_other_verts: | for info in tgt_other_verts: | ||||
| info["loop"][uv_layer].uv = info["target_uv"] | info["loop"][uv_layer].uv = info["target_uv"] | ||||
| common.debug_print("===== Target Other Verticies =====") | common.debug_print("===== Target Other Vertices =====") | ||||
| common.debug_print(tgt_other_verts) | common.debug_print(tgt_other_verts) | ||||
| bmesh.update_edit_mesh(obj.data) | bmesh.update_edit_mesh(obj.data) | ||||
| Context not available. | |||||