Dispose old scenes when going into new ones in Virtual Tour

Description

Acceptance Criteria

  1. Don't keep all the data for all visited scenes in memory

Background

If you make a Virtual Tour large enough it has proved to crash Chrome on 4 GB memory Windows PCs since every visited scene stays in memory.

Try Three.js's .dispose() to free up memory when leaving a scene. It will make things a bit slower when switching between scenes, but as long as it is as memory heavy as it is we need to free up memory when moving between scenes.

Acceptance Criteria

None

Assignee

Frode Petterson

Reporter

Svein-Tore Griff With

Labels

Funding

None

Code reviewer

Pål Jørgensen

Released

None

Time tracking

6h

Sprint

None

Fix versions

Priority

High
Configure