
For some reason the mat_nr can be superior to the number of material slots present on an object. Just cap this number to the max available slot.
For some reason the mat_nr can be superior to the number of material slots present on an object. Just cap this number to the max available slot.