Skip to content

Commit

Permalink
Update S2GConverter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mrglaster authored Mar 15, 2022
1 parent f40b6cb commit ca2f786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S2GConverter.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def get_materials(path_to_model):
btx = j.split(' ')
for p in range(1, len(btx)):
basetexture_line = ''
if '"$basetexture"' in btx[p-1] or '"$basetexture"' in btx[p-1].lower() or '"$basetexture"' in btx[p-1].upper():
if 'basetexture' in btx[p-1] or 'basetexture' in btx[p-1].lower() or 'basetexture' in btx[p-1].upper():
basetexture_line = btx[p]
break
for k in range(len(basetexture_line)-1, 0, -1):
Expand Down

0 comments on commit ca2f786

Please sign in to comment.