Browse Source

allow int for ply vertex property

Alexander Rose 4 năm trước cách đây
mục cha
commit
ef3f035f27
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/mol-model-formats/shape/ply.ts

+ 2 - 1
src/mol-model-formats/shape/ply.ts

@@ -38,7 +38,8 @@ function createPlyShapeParams(plyFile?: PlyFile) {
             if (
                 type === 'uchar' || type === 'uint8' ||
                 type === 'ushort' || type === 'uint16' ||
-                type === 'uint' || type === 'uint32'
+                type === 'uint' || type === 'uint32' ||
+                type === 'int'
             ) groupOptions.push([ name, name ]);
             if (type === 'uchar' || type === 'uint8') colorOptions.push([ name, name ]);
         }