Skip to content

Commit 97bf3ff

Browse files
StartAutomatingStartAutomating
authored andcommitted
fix: -Scene parameter defaults ( Fixes #210 )
1 parent 672a76c commit 97bf3ff

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Commands/Sources/Set-OBSColorSource.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ function Set-OBSColorSource {
124124
}
125125

126126
if (-not $myParameters["Scene"]) {
127-
$myParameters["Scene"] = Get-OBSCurrentProgramScene
127+
$myParameters["Scene"] = Get-OBSCurrentProgramScene |
128+
Select-Object -ExpandProperty currentProgramSceneName
128129
}
129130

130131
$hexChar = [Regex]::new('[0-9a-f]')

0 commit comments

Comments
 (0)