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 Nov 12, 2024
1 parent fd1fa58 commit b617da2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/base/src/3dview/mainview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1118,8 +1118,9 @@ export class MainView extends React.Component<IProps, IStates> {
selectedMesh.material.color = originalColor;
}

const parentGroup = this._meshGroup?.getObjectByName(selectedMesh.name)
?.parent;
const parentGroup = this._meshGroup?.getObjectByName(
selectedMesh.name
)?.parent;
const boundingBox = parentGroup?.getObjectByName(
SELECTION_BOUNDING_BOX
) as THREE.Mesh;
Expand Down Expand Up @@ -1170,8 +1171,9 @@ export class MainView extends React.Component<IProps, IStates> {
// Highlight non-edges using a bounding box
this._selectedMeshes.push(selectedMesh);

const parentGroup = this._meshGroup?.getObjectByName(selectedMesh.name)
?.parent;
const parentGroup = this._meshGroup?.getObjectByName(
selectedMesh.name
)?.parent;
const boundingBox = parentGroup?.getObjectByName(
SELECTION_BOUNDING_BOX
) as THREE.Mesh;
Expand Down

0 comments on commit b617da2

Please sign in to comment.