Skip to content

Commit f3e1c40

Browse files
committed
Don't break compatibility
1 parent 2e91e30 commit f3e1c40

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pywavefront/texture.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,8 @@ def __init__(self, path):
3838
# Treat path as part of a file uri always using forward slashes
3939
self.path = path.replace('\\', '/')
4040
self.image = None
41+
42+
@property
43+
def image_name(self):
44+
"""Wrap the old property name to not break compatibility"""
45+
return self.path

0 commit comments

Comments
 (0)