diff --git a/examples/editEntities.js b/examples/editEntities.js index f25a873992..6938fc86b7 100644 --- a/examples/editEntities.js +++ b/examples/editEntities.js @@ -533,7 +533,9 @@ function highlightEntityUnderCursor(position, accurateRay) { function mouseReleaseEvent(event) { if (placingEntityID) { - selectionManager.setSelections([placingEntityID]); + if (isActive) { + selectionManager.setSelections([placingEntityID]); + } placingEntityID = null; } if (isActive && selectionManager.hasSelection()) {