From 04cb99b42b0d49e6b075c39a1bfcee84dd85fa51 Mon Sep 17 00:00:00 2001
From: Campbell Barton <ideasman42@gmail.com>
Date: Mon, 5 Sep 2011 02:04:07 +0000
Subject: [PATCH] replace tricky unicode chars for basic ascii.

---
 mocap/__init__.py               |  2 ++
 mocap/mocap_tools.py            |  1 -
 object_fracture/fracture_ops.py |  2 +-
 render_povray/render.py         | 10 +++++-----
 render_povray/ui.py             |  1 +
 render_povray/update_files.py   |  6 +++---
 6 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/mocap/__init__.py b/mocap/__init__.py
index b56bb342f..99a9d4a89 100644
--- a/mocap/__init__.py
+++ b/mocap/__init__.py
@@ -239,6 +239,8 @@ def updateIKRetarget():
 
 
 updateIKRetarget()
+
+
 def hasIKConstraint(pose_bone):
     #utility function / predicate, returns True if given bone has IK constraint
     ik = [constraint for constraint in pose_bone.constraints if constraint.type == "IK"]
diff --git a/mocap/mocap_tools.py b/mocap/mocap_tools.py
index 5871c376e..0bbc09d04 100644
--- a/mocap/mocap_tools.py
+++ b/mocap/mocap_tools.py
@@ -47,7 +47,6 @@ class NdVector:
             # int/float
             return NdVector([otherMember * x for x in self.vec])
 
-
     def __sub__(self, otherVec):
         a = self.vec
         b = otherVec.vec
diff --git a/object_fracture/fracture_ops.py b/object_fracture/fracture_ops.py
index f5de1d972..ba8585894 100644
--- a/object_fracture/fracture_ops.py
+++ b/object_fracture/fracture_ops.py
@@ -224,7 +224,7 @@ def boolop(ob, cutter, op):
 
          # This checks whether returned shards are non-manifold.
          # Problem is, if org mesh is non-manifold, it will always fail (e.g. with Suzanne).
-         # And disabling it does not seem to cause any problem…
+         # And disabling it does not seem to cause any problem...
 #        elif min(mesh_utils.edge_face_count(nmesh)) < 2:    # Manifold check
 #            fault = 1
 
diff --git a/render_povray/render.py b/render_povray/render.py
index 6260a0771..d5390261d 100644
--- a/render_povray/render.py
+++ b/render_povray/render.py
@@ -777,11 +777,11 @@ def write_pov(filename, scene=None, info_callback=None):
 #                        return True
 #            return False
         # For objects using local material(s) only!
-        # This is a mapping between a tuple (dataname, materialnames, …), and the POV dataname.
+        # This is a mapping between a tuple (dataname, materialnames, ...), and the POV dataname.
         # As only objects using:
         #     * The same data.
         #     * EXACTLY the same materials, in EXACTLY the same sockets.
-        # … can share a same instance in POV export.
+        # ... can share a same instance in POV export.
         obmats2data = {}
 
         def checkObjectMaterials(ob, name, dataname):
@@ -794,14 +794,14 @@ def write_pov(filename, scene=None, info_callback=None):
                         if ms.link == 'OBJECT' and not has_local_mats:
                             has_local_mats = True
                     else:
-                        # Even if the slot is empty, it is important to grab it…
+                        # Even if the slot is empty, it is important to grab it...
                         key.append("")
                 if has_local_mats:
                     # If this object uses local material(s), lets find if another object
                     # using the same data and exactly the same list of materials
-                    # (in the same slots) has already been processed…
+                    # (in the same slots) has already been processed...
                     # Note that here also, we use object name as new, unique dataname for Pov.
-                    key = tuple(key)  # Lists are not hashable…
+                    key = tuple(key)  # Lists are not hashable...
                     if key not in obmats2data:
                         obmats2data[key] = name
                     return obmats2data[key]
diff --git a/render_povray/ui.py b/render_povray/ui.py
index 3309c02f9..95416c7ef 100644
--- a/render_povray/ui.py
+++ b/render_povray/ui.py
@@ -192,6 +192,7 @@ class RENDER_PT_povray_export_settings(RenderButtonsPanel, bpy.types.Panel):
             split.prop(scene.pov, "indentation_character", text="Indent")
             if scene.pov.indentation_character == "2":
                 split.prop(scene.pov, "indentation_spaces", text="Spaces")
+
             
             row = layout.row()
             row.prop(scene.pov, "comments_enable", text="Comments")
diff --git a/render_povray/update_files.py b/render_povray/update_files.py
index 2d8cf6fbd..7aa3cff89 100644
--- a/render_povray/update_files.py
+++ b/render_povray/update_files.py
@@ -28,8 +28,8 @@ def update2_0_0_9():
     # Temporally register old props, so we can access their values.
     register()
 
-    # Mapping old names → old default values
-    # XXX We could also store the new name, but as it is just the same without leading pov_ …
+    # Mapping old names -> old default values
+    # XXX We could also store the new name, but as it is just the same without leading pov_ ...
     # Get default values of pov scene props.
     old_sce_props = {}
     for k in ["pov_tempfiles_enable", "pov_deletefiles_enable", "pov_scene_name", "pov_scene_path",
@@ -81,7 +81,7 @@ def update2_0_0_9():
     ################################################################################################
     # Now, update !
     # For each old pov property of each scene, if its value is not equal to the default one,
-    # copy it to relevant new prop…
+    # copy it to relevant new prop...
     for sce in bpy.data.scenes:
         for k, d in old_sce_props.items():
             val = getattr(sce, k, d)
-- 
GitLab