If light is not enabled when digital projector is selected, enable light. Otherwise, the light value will stay default 0,0,0 and all frames are rendered as black.

This commit is contained in:
mmcwilliams 2019-03-18 18:35:49 -04:00
parent ad97086bf0
commit b1e4015630
1 changed files with 4 additions and 0 deletions

View File

@ -223,6 +223,10 @@ devices.digitalCb = function (evt, args) {
gui.grid.state(0); gui.grid.state(0);
gui.grid.state(1); gui.grid.state(1);
if (light.disabled) {
light.enable();
}
$('#seq_loop').val(`${state.frames}`).trigger('change'); $('#seq_loop').val(`${state.frames}`).trigger('change');
gui.updateState(); gui.updateState();