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 /render_povray
parentcb43d89a378797e1a4a277198258678126061688 (diff)
replace tricky unicode chars for basic ascii.
Diffstat (limited to 'render_povray')
-rw-r--r--render_povray/render.py10
-rw-r--r--render_povray/ui.py1
-rw-r--r--render_povray/update_files.py6
3 files changed, 9 insertions, 8 deletions
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)