Skip to content

Commit

Permalink
added null check
Browse files Browse the repository at this point in the history
  • Loading branch information
aozien committed Feb 9, 2023
1 parent 722c6ac commit 4855313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Infrastructure/IfcHighlighter.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default class IfcHighlighter {
* @param {Mesh} geometry meshes
*/
setHighlighted(meshes) {
this._outlineEffect.setSelection(meshes)
this._outlineEffect.setSelection(meshes ?? [])
}
}

Expand Down

0 comments on commit 4855313

Please sign in to comment.