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 8364c66 commit 1bef256Copy full SHA for 1bef256
1 file changed
Commands/Sources/Set-OBSColorSource.ps1
@@ -130,6 +130,7 @@ function Set-OBSColorSource {
130
inputName = $myParameters["Name"]
131
inputKind = "color_source_v3"
132
inputSettings = $myParameterData
133
+ NoResponse = $myParameters["NoResponse"]
134
}
135
136
# If -SceneItemEnabled was passed,
@@ -182,7 +183,8 @@ function Set-OBSColorSource {
182
183
184
185
# Otherwise, if we had a result
- elseif ($outputAddedResult) {
186
+ if ($outputAddedResult -and
187
+ $outputAddedResult -isnot [Management.Automation.ErrorRecord]) {
188
# get the input from the scene.
189
Get-OBSSceneItem -sceneName $myParameters["Scene"] |
190
Where-Object SourceName -eq $myParameters["Name"]
0 commit comments