Skip to content

Commit b4179a4

Browse files
committed
correct the material.Material init func with default None value
1 parent 82a4f20 commit b4179a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pywavefront/material.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040

4141
class Material(object):
42-
def __init__(self, name):
42+
def __init__(self, name=None):
4343
self.name = name
4444
self.diffuse = [.8, .8, .8, 1.]
4545
self.ambient = [.2, .2, .2, 1.]

0 commit comments

Comments
 (0)