[#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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user