diff options
author | Chris Want <cwant@ualberta.ca> | 2008-06-18 23:58:05 +0400 |
---|---|---|
committer | Chris Want <cwant@ualberta.ca> | 2008-06-18 23:58:05 +0400 |
commit | 4ed60f45759a930412f7d480a635f688e32627c3 (patch) | |
tree | e0d0e24d27046ebb2c0b1dc8a94787fb95a98938 /release | |
parent | 1c1f81914c37d3021fe7555277523bf23385add0 (diff) |
== VRML97 export ==
Don't export vertex colors if a mesh doesn't have any (even if a
texface has 'shared cols' set).
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/vrml97_export.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/vrml97_export.py b/release/scripts/vrml97_export.py index f66f2bc6136..80810dddf75 100644 --- a/release/scripts/vrml97_export.py +++ b/release/scripts/vrml97_export.py @@ -454,6 +454,8 @@ class VRML2Export: if mat: if (mat.mode & Blender.Material.Modes['VCOL_PAINT']): self.vcolors = 1 + else: + self.vcolors = 0 # check if object is wireframe only if ob.drawType == Blender.Object.DrawTypes.WIRE: |