Browse Source

Allow the view-scene preset (console only) to show every view

master
Fen Dweller 4 years ago
parent
commit
331af8f59e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      presets/scenes.js

+ 1
- 1
presets/scenes.js View File

@@ -100,7 +100,7 @@ scenes["EVERY VIEW AAAAA"] = () => {
function makeViewsScene(constructor, viewChoice) {
return () => {
Object.keys(constructor.constructor().views).forEach(view => {
if (view.indexOf(viewChoice) >= 0) {
if (viewChoice === undefined || view.indexOf(viewChoice) >= 0) {
const entity = constructor.constructor()
displayEntity(entity, view, 0, 1)
}


Loading…
Cancel
Save