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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-08-20 10:09:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-20 10:09:58 +0400
commit4f5f868a523430aa41de8bd63f888878aaf63002 (patch)
tree2646d7467382bc8d2e5addc361b91f6eec7246e1 /release/scripts/io/export_obj.py
parent4afe81c7260905bcb2682d9cbac016a446310955 (diff)
rna data path names which are more likely to break animations.
Added an operator "Update Animation Data", access from the search menu to update drivers and fcurves.
Diffstat (limited to 'release/scripts/io/export_obj.py')
-rw-r--r--release/scripts/io/export_obj.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/io/export_obj.py b/release/scripts/io/export_obj.py
index 319d459e4c2..53c4a324ed1 100644
--- a/release/scripts/io/export_obj.py
+++ b/release/scripts/io/export_obj.py
@@ -93,7 +93,7 @@ def write_mtl(scene, filepath, copy_images, mtl_dict):
file.write('d %.6f\n' % mat.alpha) # Alpha (obj uses 'd' for dissolve)
# 0 to disable lighting, 1 for ambient & diffuse only (specular color set to black), 2 for full lighting.
- if mat.shadeless:
+ if mat.use_shadeless:
file.write('illum 0\n') # ignore lighting
elif mat.specular_intensity == 0:
file.write('illum 1\n') # no specular.