|
@@ -718,7 +718,7 @@ class VTKLoader extends Loader {
|
|
|
|
|
|
txt = new Float32Array( );
|
|
|
|
|
|
- } else if ( ele.attributes.type === 'Int64' ) {
|
|
|
+ } else if ( ele.attributes.type === 'Int32' || ele.attributes.type === 'Int64' ) {
|
|
|
|
|
|
txt = new Int32Array( );
|
|
|
|
|
@@ -786,7 +786,7 @@ class VTKLoader extends Loader {
|
|
|
content = new Float32Array( content );
|
|
|
txt = Float32Concat( txt, content );
|
|
|
|
|
|
- } else if ( ele.attributes.type === 'Int64' ) {
|
|
|
+ } else if ( ele.attributes.type === 'Int32' || ele.attributes.type === 'Int64' ) {
|
|
|
|
|
|
content = new Int32Array( content );
|
|
|
txt = Int32Concat( txt, content );
|