Fix collision types not getting applied properly
This commit is contained in:
parent
5b1add06e0
commit
f7e03ce679
1 changed files with 1 additions and 0 deletions
|
@ -216,6 +216,7 @@ class ImportCOL(Operator, ExportHelper): #Operator that exports the collision mo
|
|||
ColParameterAreEqual = (f.ColParameter == mat.ColEditor.ColParameterField)
|
||||
ColParameterDontExist = f.ColParameter is None and mat.ColEditor.HasColParameterField is False #If the ColParameter doesn't exist we need to check for that case
|
||||
if ColParameterAreEqual or ColParameterDontExist:
|
||||
MyFace.material_index = i
|
||||
break #We assigned our material
|
||||
else: #We did not find a material that matched
|
||||
MaterialName = str(f.ColType) + "," + str(f.TerrainType) + "," + str(f.unknown) + "," + str(f.ColParameter)
|
||||
|
|
Reference in a new issue