Skip to content

Commit 54fc53b

Browse files
committed
indent fix
1 parent 703d6ae commit 54fc53b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DxfViewer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ class Batch {
992992
this.viewer._GetSimplePointMaterial : this.viewer._GetSimpleColorMaterial
993993

994994
const material = materialFactory.call(this.viewer, this.viewer._TransformColor(color),
995-
instanceBatch?.GetInstanceType() ?? InstanceType.NONE)
995+
instanceBatch?.GetInstanceType() ?? InstanceType.NONE)
996996

997997
let objConstructor
998998
switch (this.key.geometryType) {
@@ -1016,7 +1016,7 @@ class Batch {
10161016
function CreateObject(vertices, indices) {
10171017
const geometry = instanceBatch ?
10181018
new three.InstancedBufferGeometry() : new three.BufferGeometry()
1019-
geometry.setAttribute("position", vertices)
1019+
geometry.setAttribute("position", vertices)
10201020
instanceBatch?._SetInstanceTransformAttribute(geometry)
10211021
if (indices) {
10221022
geometry.setIndex(indices)

0 commit comments

Comments
 (0)