Skip to content
Snippets Groups Projects
Commit 2d34c2a4 authored by Alexander Rose's avatar Alexander Rose
Browse files

fix Scene.clear not clearing primitives/volumes

parent c5871e90
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,8 @@ Note that since we don't clearly distinguish between a public and private interf
## [Unreleased]
- Fix ``Scene.clear`` not clearing primitives & volumes arrays (@JonStargaryen)
## [v3.8.2] - 2022-05-22
- Fix ``Scene.opacityAverage`` not taking xray shaded into account
......
......@@ -258,6 +258,8 @@ namespace Scene {
renderables[i].dispose();
}
renderables.length = 0;
primitives.length = 0;
volumes.length = 0;
renderableMap.clear();
boundingSphereDirty = true;
boundingSphereVisibleDirty = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment