Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 1, 2025
1 parent d8ea827 commit bf39e8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/base/src/3dview/mainview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1010,15 +1010,15 @@ export class MainView extends React.Component<IProps, IStates> {
}
const loader = new STLLoader();
const geometry = loader.parse(buff);

if (!geometry) {
return;
}

const parsedShape: IParsedShape = {
jcObject: { name: 'example', visible: true },
faceList: [],
edgeList: [],
edgeList: []
};

const obj = this._model.sharedModel.getObjectByName(name);
Expand Down

0 comments on commit bf39e8f

Please sign in to comment.