New Addon: Import Autodesk .max #105013

Closed
Sebastian Sille wants to merge 136 commits from (deleted):nrgsille-import_max into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit 54f35f8a53 - Show all commits

View File

@ -1245,7 +1245,7 @@ def get_color(colors, idx):
def get_value(colors, idx): def get_value(colors, idx):
prop = get_property(colors, idx) prop = get_property(colors, idx)
if (prop is not None): if (prop is not None):
siz = 15 if (len(prop.data) > 15) else 11 siz = 15 if (len(prop.data) > 17) else 11
val, offset = get_float(prop.data, siz) val, offset = get_float(prop.data, siz)
return val return val
return None return None