Skip to content

Commit b617da2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent fd1fa58 commit b617da2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

packages/base/src/3dview/mainview.tsx

+6-4
Original file line numberDiff line numberDiff line change
@@ -1118,8 +1118,9 @@ export class MainView extends React.Component<IProps, IStates> {
11181118
selectedMesh.material.color = originalColor;
11191119
}
11201120

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

1173-
const parentGroup = this._meshGroup?.getObjectByName(selectedMesh.name)
1174-
?.parent;
1174+
const parentGroup = this._meshGroup?.getObjectByName(
1175+
selectedMesh.name
1176+
)?.parent;
11751177
const boundingBox = parentGroup?.getObjectByName(
11761178
SELECTION_BOUNDING_BOX
11771179
) as THREE.Mesh;

0 commit comments

Comments
 (0)