working on simManage
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
],
|
||||
"json": [
|
||||
{"name":"global/app-menu-map.json"},
|
||||
{"id":"busChannels", "name":"global/busChannels.json"},
|
||||
{"path": "/app/controllers/common/", "name": "errorController.json", "comment": "Trick to preload errorController stuff, to still have error messages if S3 is down."}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ class DashboardsController extends WindozController {
|
||||
constructor(params) {
|
||||
super(params)
|
||||
this.arenaConfig = app.Assets.Store.json.arenaConfig
|
||||
this.busChannels = app.Assets.Store.json.busChannels
|
||||
this.eventsMapping = app.Assets.Store.json.eventsMapping
|
||||
console.log('=============>DashboardsController constructor')
|
||||
}
|
||||
@@ -21,6 +22,7 @@ class DashboardsController extends WindozController {
|
||||
const ttb = new app.LoadedModules.Threetobus({
|
||||
eventsMapping: this.eventsMapping,
|
||||
sceneSize: this.arenaConfig.arenaSize,
|
||||
observer: this.busChannels.observer,
|
||||
})
|
||||
ttb.initScene({
|
||||
axes: true,
|
||||
|
||||
@@ -39,7 +39,7 @@ class SimsController extends WindozController {
|
||||
static: true,
|
||||
expanded: false,
|
||||
withSettings: false,
|
||||
windowStyle: WindozDomContent.boxFromPrefs('sims.managesimview', { x: 50, y: 50, w: 800, h: 600 }),
|
||||
windowStyle: WindozDomContent.boxFromPrefs('sims.managesimview', { x: 50, y: 50, w: 1000, h: 600 }),
|
||||
},
|
||||
{
|
||||
models: models,
|
||||
|
||||
Reference in New Issue
Block a user