Skip to content
Snippets Groups Projects
Commit 538d6dda authored by Bastien Montagne's avatar Bastien Montagne
Browse files

tesselat -> tessellat in UI messages.

parent 242930a7
No related branches found
No related tags found
No related merge requests found
...@@ -103,9 +103,9 @@ class ExportUVLayout(bpy.types.Operator): ...@@ -103,9 +103,9 @@ class ExportUVLayout(bpy.types.Operator):
min=0.0, max=1.0, min=0.0, max=1.0,
default=0.25, default=0.25,
) )
tesselated = BoolProperty( tessellated = BoolProperty(
name="Tesselated UVs", name="Tessellated UVs",
description="Export tesselated UVs instead of polygons ones", description="Export tessellated UVs instead of polygons ones",
default=False, default=False,
options={'HIDDEN'}, # As not working currently :/ options={'HIDDEN'}, # As not working currently :/
) )
...@@ -137,7 +137,7 @@ class ExportUVLayout(bpy.types.Operator): ...@@ -137,7 +137,7 @@ class ExportUVLayout(bpy.types.Operator):
return image_width, image_height return image_width, image_height
def _face_uv_iter(self, context, mesh, tesselated): def _face_uv_iter(self, context, mesh, tessellated):
uv_layer = mesh.uv_loop_layers.active.data uv_layer = mesh.uv_loop_layers.active.data
polys = mesh.polygons polys = mesh.polygons
...@@ -202,8 +202,8 @@ class ExportUVLayout(bpy.types.Operator): ...@@ -202,8 +202,8 @@ class ExportUVLayout(bpy.types.Operator):
mesh = obj.data mesh = obj.data
func(fw, mesh, self.size[0], self.size[1], self.opacity, func(fw, mesh, self.size[0], self.size[1], self.opacity,
# self.tesselated, # self.tessellated,
lambda: self._face_uv_iter(context, mesh, self.tesselated)) lambda: self._face_uv_iter(context, mesh, self.tessellated))
if self.modified: if self.modified:
bpy.data.meshes.remove(mesh) bpy.data.meshes.remove(mesh)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment