File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -992,7 +992,7 @@ class Batch {
992
992
this . viewer . _GetSimplePointMaterial : this . viewer . _GetSimpleColorMaterial
993
993
994
994
const material = materialFactory . call ( this . viewer , this . viewer . _TransformColor ( color ) ,
995
- instanceBatch ?. GetInstanceType ( ) ?? InstanceType . NONE )
995
+ instanceBatch ?. GetInstanceType ( ) ?? InstanceType . NONE )
996
996
997
997
let objConstructor
998
998
switch ( this . key . geometryType ) {
@@ -1016,7 +1016,7 @@ class Batch {
1016
1016
function CreateObject ( vertices , indices ) {
1017
1017
const geometry = instanceBatch ?
1018
1018
new three . InstancedBufferGeometry ( ) : new three . BufferGeometry ( )
1019
- geometry . setAttribute ( "position" , vertices )
1019
+ geometry . setAttribute ( "position" , vertices )
1020
1020
instanceBatch ?. _SetInstanceTransformAttribute ( geometry )
1021
1021
if ( indices ) {
1022
1022
geometry . setIndex ( indices )
You can’t perform that action at this time.
0 commit comments