3
11

New Addon: Import Autodesk .max #22

Closed
Sebastian Sille wants to merge 38 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 94b6787948 - Show all commits

View File

@ -1466,7 +1466,6 @@ def get_poly_data(chunk):
def create_editable_poly(context, node, msh, mat, mtx, umt, uvm):
coords = point4i = point6i = pointNi = None
name = node.get_first(TYP_NAME).data
poly = msh.get_first(0x08FE)
created = False
lidx = []
@ -1606,7 +1605,6 @@ def load(operator, context, filepath="", scale_objects=1.0, use_material=True,
mscale = mathutils.Matrix.Scale(scale_objects, 4)
if global_matrix is not None:
mscale = global_matrix @ mscale
read(context, filepath, mscale, usemat=use_material, uvmesh=use_uv_mesh, transform=use_apply_matrix)
return {'FINISHED'}