[Bf-extensions-cvs] [ae2c9b04] blender2.8: Cleanup: quotes

Campbell Barton noreply at git.blender.org
Mon Oct 8 23:36:01 CEST 2018


Commit: ae2c9b04e5d68dc6244b06d1e27bf6c3148f5d28
Author: Campbell Barton
Date:   Tue Oct 9 08:36:03 2018 +1100
Branches: blender2.8
https://developer.blender.org/rBAae2c9b04e5d68dc6244b06d1e27bf6c3148f5d28

Cleanup: quotes

===================================================================

M	io_mesh_uv_layout/__init__.py

===================================================================

diff --git a/io_mesh_uv_layout/__init__.py b/io_mesh_uv_layout/__init__.py
index 1ebbb062..2c525140 100644
--- a/io_mesh_uv_layout/__init__.py
+++ b/io_mesh_uv_layout/__init__.py
@@ -165,7 +165,7 @@ class ExportUVLayout(bpy.types.Operator):
     @staticmethod
     def iter_objects_to_export(context):
         for obj in context.selected_objects:
-            if obj.type != "MESH":
+            if obj.type != 'MESH':
                 continue
             mesh = obj.data
             if mesh.uv_layers.active is None:
@@ -220,11 +220,11 @@ class ExportUVLayout(bpy.types.Operator):
         return default
 
     def get_exporter(self):
-        if self.mode == "PNG":
+        if self.mode == 'PNG':
             return export_uv_png.export
-        elif self.mode == "EPS":
+        elif self.mode == 'EPS':
             return export_uv_eps.export
-        elif self.mode == "SVG":
+        elif self.mode == 'SVG':
             return export_uv_svg.export
         else:
             assert False



More information about the Bf-extensions-cvs mailing list