Fix lint error.

This commit is contained in:
kovacsv 2022-05-18 20:21:51 +02:00
parent 9aff0be5f0
commit 5843fc3cc8

View File

@ -77,7 +77,7 @@ export class ImporterStp extends ImporterBase
ImportNode (stepContent, occtNode, parentNode, colorToMaterial) ImportNode (stepContent, occtNode, parentNode, colorToMaterial)
{ {
for (let nodeMeshIndex of occtNode.meshes) { for (let nodeMeshIndex of occtNode.meshes) {
let occtMesh = stepContent.meshes[nodeMeshIndex] let occtMesh = stepContent.meshes[nodeMeshIndex];
let mesh = this.ImportMesh (occtMesh, colorToMaterial); let mesh = this.ImportMesh (occtMesh, colorToMaterial);
let meshIndex = this.model.AddMesh (mesh); let meshIndex = this.model.AddMesh (mesh);
parentNode.AddMeshIndex (meshIndex); parentNode.AddMeshIndex (meshIndex);