[#18847] Material.c Python API calls

Adds access to...
- Anisotropy
- Mirr Threshold
- Trans Threshold

Breaks rule of no additions but python data access is quite safe, vray exporter needed these attributes.

[#18891] BGE Convert script Python 2.5 compatible
This commit is contained in:
2009-06-09 12:18:20 +00:00
parent 105d3fd323
commit e4b427bb59
3 changed files with 70 additions and 1 deletions

View File

@@ -718,7 +718,7 @@ def convert248to249(lines, log = True, logErrors = True, fileName = None):
try:
# Convert!
func(lines, row, match.start(1), match.end(1), closure)
except ConversionError as e:
except ConversionError, e:
# Insert a comment saying the conversion failed.
print "ERROR: %sline %d, %s: %s\n" % (
fileIdStr, row + 1, attrName, e)