Page MenuHome
Authored By
Ezra Peisach (epeisach)
Nov 13 2013, 1:50 PM
Size
688 B
Subscribers
None
Index: release/scripts/import_web3d.py
===================================================================
--- release/scripts/import_web3d.py (revision 19121)
+++ release/scripts/import_web3d.py (working copy)
@@ -1564,7 +1564,8 @@
vcolor_spot = None # spot color when we dont have an array of colors
if vcolor:
# float to char
- ifs_vcol = [[int(c*256) for c in col] for col in vcolor.getFieldAsArray('color', 3, ancestry)]
+ ifs_vcol = [(0,0,0)] # EEKADOODLE - vertex start at 1
+ ifs_vcol.extend([[int(c*256) for c in col] for col in vcolor.getFieldAsArray('color', 3, ancestry)])
ifs_color_index = geom.getFieldAsArray('colorIndex', 0, ancestry)
if not ifs_vcol:

File Metadata

Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
73/a2/a3ecc215d927a821245ae683c786

Event Timeline