Skip to content

Commit

Permalink
wip: update to r50 - fix get workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon committed Mar 12, 2024
1 parent 20ecc80 commit 0bd3566
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/coreHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -502,12 +502,12 @@ export class CoreHandler {
}
})

// This is a hack, as overrides defaults does not include the visionMixerType
const blueprintVisionMixerType = studio.blueprintConfigWithOverrides.overrides.find((override) => {
return override.path === 'visionMixerType'
}) as any
if (blueprintVisionMixerType?.value === 'vmix') {
const blueprintVisionMixerType = applyAndValidateOverrides(studio.blueprintConfigWithOverrides).obj
.visionMixerType
if (blueprintVisionMixerType === 'vmix') {
this._workflow = 'VMIX'
} else {
this._workflow = 'ATEM'
}
}
}
Expand Down

0 comments on commit 0bd3566

Please sign in to comment.