We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 925c14a commit 52a768dCopy full SHA for 52a768d
1 file changed
Commands/Sources/Add-OBSDisplaySource.ps1
@@ -123,7 +123,11 @@ dynamicParam {
123
Where-Object SourceName -eq $myParameters["Name"] |
124
Remove-OBSInput -InputName { $_.SourceName }
125
}
126
-
+ # If -SceneItemEnabled was passed,
127
+ if ($myParameters.Contains('SceneItemEnabled')) {
128
+ # propagate it to Add-OBSInput.
129
+ $addSplat.SceneItemEnabled = $myParameters['SceneItemEnabled'] -as [bool]
130
+ }
131
$outputAddedResult = Add-OBSInput @addObsInputParams
132
if ($outputAddedResult) {
133
Get-OBSSceneItem -sceneName $myParameters["Scene"] |
0 commit comments