New Addon: Import Autodesk .max #22
@ -813,7 +813,7 @@ class ChunkReader():
|
||||
long, ofst = get_long(data, ofst)
|
||||
if (short == 0x8B1F):
|
||||
short, ofst = get_long(data, ofst)
|
||||
if (short in (0xB000000, 0xa040000)):
|
||||
if (short in (0xB000000, 0xA040000)):
|
||||
data = zlib.decompress(data, zlib.MAX_WBITS|32)
|
||||
print(" reading '%s'..." %self.name, len(data))
|
||||
while offset < len(data):
|
||||
@ -1232,7 +1232,7 @@ def adjust_material(obj, mat):
|
||||
elif (uid == VRAY_MTL): # VRayMtl
|
||||
refs = get_reference(mat)
|
||||
material = get_vray_material(refs[1])
|
||||
elif (uid == CORO_MTL): # Corona
|
||||
elif (uid == CORO_MTL): # CoronaMtl
|
||||
refs = get_references(mat)
|
||||
material = get_corona_material(refs[0])
|
||||
elif (uid == ARCH_MTL): # Arch
|
||||
|
Reference in New Issue
Block a user