Page Menu
Home
Search
Configure Global Search
Log In
Files
F7916
patch1
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Ezra Peisach (epeisach)
Nov 13 2013, 1:50 PM
Size
688 B
Subscribers
None
patch1
View Options
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
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
73/a2/a3ecc215d927a821245ae683c786
Event Timeline
Log In to Comment