Skip to content

Commit

Permalink
emit entitycreated event from streetContainerEl
Browse files Browse the repository at this point in the history
  • Loading branch information
Algorush committed Apr 24, 2024
1 parent 867ef07 commit a40d705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/street-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function newScene(clearMetaData=true, clearUrlHash=true, addDefaultStreet=true)
checkOrCreateEntity("reference-layers", referenceLayersHTML);

// update sceneGraph
Events.emit('entitycreated', streetContainerEl.sceneEl);
streetContainerEl.emit('entitycreated', streetContainerEl.sceneEl);

// clear metadata
if (clearMetaData) {
Expand Down

0 comments on commit a40d705

Please sign in to comment.