Skip to content

Commit 5b64c01

Browse files
authored
To not bug out on MTL files with transparency
Required to parse some MTL files with transparency variable.
1 parent f9d6be2 commit 5b64c01

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pywavefront/material.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ def parse_Ni(self, args):
150150
# unimplemented
151151
return
152152

153+
def parse_Tr(self, args):
154+
# unimplemented
155+
return
156+
153157
def parse_illum(self, args):
154158
# unimplemented
155159
return

0 commit comments

Comments
 (0)