dont use tface hide or select anymore, since maintaining 2 sets of hide/select data...
[blender.git] / release / scripts / x3d_export.py
index 0f6cb1baa2e7593c267050ce428bb9024784e949..36359f1d122b898eaed8f01996340b85dadfc3bc 100644 (file)
@@ -831,8 +831,8 @@ class VRML2Export:
     def faceToString(self,face):
 
         print "Debug: face.flag=0x%x (bitflags)" % face.flag
-        if face.flag & NMesh.FaceFlags.SELECT == NMesh.FaceFlags.SELECT:
-            print "Debug: face.flag.SELECT=true"
+        if face.sel:
+            print "Debug: face.sel=true"
 
         print "Debug: face.mode=0x%x (bitflags)" % face.mode
         if (face.mode & NMesh.FaceModes.TWOSIDE) == NMesh.FaceModes.TWOSIDE: