vrml exporting with images was broken.
authorCampbell Barton <ideasman42@gmail.com>
Tue, 14 Oct 2008 23:43:08 +0000 (23:43 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 14 Oct 2008 23:43:08 +0000 (23:43 +0000)
release/scripts/vrml97_export.py

index db21cabe14fc6e6ae9cb11544ac172678300ce97..bd1a35f7c3ba768b5fa794a7fbaae23d562d1dba 100644 (file)
@@ -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):