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 4ae733d commit 925c14aCopy full SHA for 925c14a
1 file changed
Commands/Sources/Add-OBSColorSource.ps1
@@ -136,6 +136,11 @@ dynamicParam {
136
Where-Object SourceName -eq $myParameters["Name"] |
137
Remove-OBSInput -InputName { $_.SourceName }
138
}
139
+ # If -SceneItemEnabled was passed,
140
+ if ($myParameters.Contains('SceneItemEnabled')) {
141
+ # propagate it to Add-OBSInput.
142
+ $addObsInputParams.SceneItemEnabled = $myParameters['SceneItemEnabled'] -as [bool]
143
+ }
144
$outputAddedResult = Add-OBSInput @addObsInputParams
145
if ($outputAddedResult) {
146
Get-OBSSceneItem -sceneName $myParameters["Scene"] |
0 commit comments