diff options
Diffstat (limited to 'release/scripts/import_web3d.py')
-rwxr-xr-x | release/scripts/import_web3d.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/import_web3d.py b/release/scripts/import_web3d.py index 28bc1a40ef0..87a259cbe56 100755 --- a/release/scripts/import_web3d.py +++ b/release/scripts/import_web3d.py @@ -1758,7 +1758,7 @@ def importMesh_IndexedFaceSet(geom, bpyima, ancestry): print '\tWarning: per vertex color index out of range' continue - if len(ifs_vcol) < color_index: + if color_index < len(ifs_vcol): c.r, c.g, c.b = ifs_vcol[color_index] else: #print '\tWarning: per face color index out of range' |