Skip to content

Commit

Permalink
fix: -Scene parameter defaults ( Fixes #210 )
Browse files Browse the repository at this point in the history
  • Loading branch information
StartAutomating authored and StartAutomating committed Dec 4, 2024
1 parent c22cc18 commit 672a76c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Commands/Sources/Set-OBSBrowserSource.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ function Set-OBSBrowserSource {
}

if (-not $myParameters["Scene"]) {
$myParameters["Scene"] = Get-OBSCurrentProgramScene
$myParameters["Scene"] = Get-OBSCurrentProgramScene |
Select-Object -ExpandProperty currentProgramSceneName
}

$myParameterData = [Ordered]@{}
Expand Down

0 comments on commit 672a76c

Please sign in to comment.