We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74d411a commit 42d0af6Copy full SHA for 42d0af6
pywavefront/visualization.py
@@ -122,7 +122,7 @@ def gl_light(lighting):
122
def bind_texture(texture):
123
"""Draw a single texture"""
124
if not getattr(texture, 'image', None):
125
- texture.image = load_image(texture.path)
+ texture.image = load_image(texture.find())
126
127
glEnable(texture.image.target)
128
glBindTexture(texture.image.target, texture.image.id)
0 commit comments