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:
authorBastien Montagne <montagne29@wanadoo.fr>2012-07-04 16:20:09 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2012-07-04 16:20:09 +0400
commit7f1754c79186706b6d53f9e398f5a2784fb884e2 (patch)
tree611c440d427557c14154d81bf7654b36553cb855 /io_scene_obj/export_obj.py
parent470cb9590535a92561ebf92f9ae50bb626f9e990 (diff)
Spellfixes: colour -> color
Diffstat (limited to 'io_scene_obj/export_obj.py')
-rw-r--r--io_scene_obj/export_obj.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_obj/export_obj.py b/io_scene_obj/export_obj.py
index 01708090..8a3978ca 100644
--- a/io_scene_obj/export_obj.py
+++ b/io_scene_obj/export_obj.py
@@ -72,7 +72,7 @@ def write_mtl(scene, filepath, path_mode, copy_set, mtl_dict):
fw('Ns %.6f\n' % tspec)
del tspec
- fw('Ka %.6f %.6f %.6f\n' % (mat.ambient * world_amb)[:]) # Ambient, uses mirror colour,
+ fw('Ka %.6f %.6f %.6f\n' % (mat.ambient * world_amb)[:]) # Ambient, uses mirror color,
fw('Kd %.6f %.6f %.6f\n' % (mat.diffuse_intensity * mat.diffuse_color)[:]) # Diffuse
fw('Ks %.6f %.6f %.6f\n' % (mat.specular_intensity * mat.specular_color)[:]) # Specular
if hasattr(mat, "ior"):
@@ -92,7 +92,7 @@ def write_mtl(scene, filepath, path_mode, copy_set, mtl_dict):
else:
#write a dummy material here?
fw('Ns 0\n')
- fw('Ka %.6f %.6f %.6f\n' % world_amb[:]) # Ambient, uses mirror colour,
+ fw('Ka %.6f %.6f %.6f\n' % world_amb[:]) # Ambient, uses mirror color,
fw('Kd 0.8 0.8 0.8\n')
fw('Ks 0.8 0.8 0.8\n')
fw('d 1\n') # No alpha