Skip to content

Commit

Permalink
Quick fix (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
slimbuck authored Dec 10, 2024
1 parent a4db4d7 commit 9bb8b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/file-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ const initFileHandler = (scene: Scene, events: Events, dropTarget: HTMLElement,
const getSplats = () => {
return (scene.getElementsByType(ElementType.splat) as Splat[])
.filter(splat => splat.visible)
.filter(splat => splat.numSplats - splat.numDeleted > 0);
.filter(splat => splat.numSplats > 0);
};

events.function('scene.empty', () => {
Expand Down

0 comments on commit 9bb8b8e

Please sign in to comment.