a little more of Windoz, & Keyframe view start 2
This commit is contained in:
@@ -16,19 +16,19 @@ class KeyframeView extends WindozDomContent {
|
||||
DOMContentBlured(options) { this.wasBlured = true }
|
||||
|
||||
DOMContentLoaded(options) {
|
||||
this.windowPrefsId = `editors.keyframeview.${options.mode}`
|
||||
this.windowPrefsId = `editors.keyframeview`
|
||||
for(let model in options.models) this[model] = options.models[model]
|
||||
this.kfe = options.kfe
|
||||
// this.kfe = options.kfe
|
||||
const components = ui.eicfy(this.el)
|
||||
this.setupTriggers(components)
|
||||
this.setupRefs(components)
|
||||
this.renderingEngine = this.kfe.startRendering(this.outputs.kfeCanvas, options.mode)
|
||||
this.output('settingsMenu',app.Assets.Store.html.sapceViewSetting)
|
||||
// this.renderingEngine = this.kfe.startRendering(this.outputs.kfeCanvas, options.mode)
|
||||
this.output('settingsMenu',app.Assets.Store.html.spaceViewSetting)
|
||||
this.outputs.settingsMenu.querySelectorAll('input[type="toggler"]').forEach(el => {
|
||||
const tog = new InputToggler(el)
|
||||
if(this.kfe[tog._el.name].layers){
|
||||
tog.value = this.renderingEngine.camera.layers.test(this.kfe[tog._el.name].layers) ? 'yes' : 'no'
|
||||
}
|
||||
// if(this.kfe[tog._el.name].layers){
|
||||
// tog.value = this.renderingEngine.camera.layers.test(this.kfe[tog._el.name].layers) ? 'yes' : 'no'
|
||||
// }
|
||||
tog.onToggle = this.settingsToggle.bind(this)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user