New Addon: Import Autodesk .max #105013
@ -563,7 +563,7 @@ class ImportMaxFile:
|
|||||||
if minifat:
|
if minifat:
|
||||||
used_streams = self._used_streams_minifat
|
used_streams = self._used_streams_minifat
|
||||||
else:
|
else:
|
||||||
if first_sect in (DIFSECT,FATSECT,ENDOFCHAIN,FREESECT):
|
if first_sect in (DIFSECT, FATSECT, ENDOFCHAIN, FREESECT):
|
||||||
return
|
return
|
||||||
used_streams = self._used_streams_fat
|
used_streams = self._used_streams_fat
|
||||||
if first_sect in used_streams:
|
if first_sect in used_streams:
|
||||||
@ -597,7 +597,7 @@ class ImportMaxFile:
|
|||||||
self.fat = array.array('I')
|
self.fat = array.array('I')
|
||||||
self.loadfat_sect(sect)
|
self.loadfat_sect(sect)
|
||||||
if self.num_difat_sectors != 0:
|
if self.num_difat_sectors != 0:
|
||||||
nb_difat_sectors = (self.sectorsize//4) - 1
|
nb_difat_sectors = (self.sectorsize // 4) - 1
|
||||||
nb_difat = (self.num_fat_sectors - 109 + nb_difat_sectors - 1) // nb_difat_sectors
|
nb_difat = (self.num_fat_sectors - 109 + nb_difat_sectors - 1) // nb_difat_sectors
|
||||||
isect_difat = self.first_difat_sector
|
isect_difat = self.first_difat_sector
|
||||||
for i in range(nb_difat):
|
for i in range(nb_difat):
|
||||||
|
Loading…
Reference in New Issue
Block a user