diff --git a/release/scripts/vrml97_export.py b/release/scripts/vrml97_export.py index db21cabe14f..bd1a35f7c3b 100644 --- a/release/scripts/vrml97_export.py +++ b/release/scripts/vrml97_export.py @@ -639,7 +639,7 @@ class VRML2Export: # Check if any faces the material or image for face in me.faces: if (matnum == -1): - if (f.image == image): + if (face.image == image): return True elif (image == None): if (face.mat == matnum):