Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-09-05 06:04:07 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-09-05 06:04:07 +0400
commit04cb99b42b0d49e6b075c39a1bfcee84dd85fa51 (patch)
tree700a64d4164cb9e1d8b6b70fdefa13f616c523e4
parentcb43d89a378797e1a4a277198258678126061688 (diff)
replace tricky unicode chars for basic ascii.
-rw-r--r--mocap/__init__.py2
-rw-r--r--mocap/mocap_tools.py1
-rw-r--r--object_fracture/fracture_ops.py2
-rw-r--r--render_povray/render.py10
-rw-r--r--render_povray/ui.py1
-rw-r--r--render_povray/update_files.py6
6 files changed, 12 insertions, 10 deletions
diff --git a/mocap/__init__.py b/mocap/__init__.py
index b56bb342..99a9d4a8 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 5871c376..0bbc09d0 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 f5de1d97..ba858589 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 6260a077..d5390261 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 3309c02f..95416c7e 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 2d8cf6fb..7aa3cff8 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)