diff options
author | Eugenio Pignataro <info@oscurart.com.ar> | 2019-09-05 14:41:39 +0300 |
---|---|---|
committer | Eugenio Pignataro <info@oscurart.com.ar> | 2019-09-05 14:41:39 +0300 |
commit | da5a1175e30c347fbce05e49e2f5f895be30bd5b (patch) | |
tree | c5c0b4f649972acd29e17791705886c663ed55dc /oscurart_tools/__init__.py | |
parent | 46b1ada7f5f2d396f712e9a1376922ca89475486 (diff) |
OscurarTools: new feature, select flipped uvs, like maya
Diffstat (limited to 'oscurart_tools/__init__.py')
-rw-r--r-- | oscurart_tools/__init__.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/oscurart_tools/__init__.py b/oscurart_tools/__init__.py index 83914359..22fcc1d3 100644 --- a/oscurart_tools/__init__.py +++ b/oscurart_tools/__init__.py @@ -50,7 +50,7 @@ from oscurart_tools.mesh import apply_linked_meshes from oscurart_tools.render import render_tokens from oscurart_tools.render import batch_maker from oscurart_tools.render import material_overrides - +from oscurart_tools.mesh import flipped_uvs from bpy.types import ( AddonPreferences, @@ -95,12 +95,14 @@ class IMAGE_MT_uvs_oscurarttools(Menu): layout.operator("mesh.uv_island_copy") layout.operator("mesh.uv_island_paste") layout.operator("mesh.overlap_uv_faces") + layout.operator("mesh.select_flipped_uvs") layout.separator() layout.operator("image.reload_images_osc") layout.operator("file.save_incremental_backup") layout.operator("file.collect_all_images") layout.operator("file.create_batch_maker_osc") + def menu_funcImage(self, context): self.layout.menu("IMAGE_MT_uvs_oscurarttools") self.layout.separator() @@ -157,7 +159,8 @@ classes = ( material_overrides.OscRemoveOverridesSlot, material_overrides.OscOverridesUp, material_overrides.OscOverridesDown, - material_overrides.OscOverridesKill + material_overrides.OscOverridesKill, + flipped_uvs.selectFlippedUvs ) def register(): |