Skip to content

Assign the correct *MATERIAL_REF index to the GEOM_OBJECTS when more than one object is exported

codereader requested to merge codereader/darkblender:blender-2.80 into blender-2.80

Hey, when selecting multiple objects for export, the *MATERIAL_REF number was almost always left at 0, regardless which options I checked. I added a small loop to find the correct index in the exported material list by its name.

Edited by codereader

Merge request reports