UI: Don't draw bounding boxes for sources without video flag
Audio Input or Output, for instance, don't have the OBS_SOURCE_VIDEO output flag so there is no need to draw the compositing helper bounding boxes.
This commit is contained in:
parent
60e9e56253
commit
679a731964
1 changed files with 3 additions and 0 deletions
|
|
@ -1105,6 +1105,9 @@ bool OBSBasicPreview::DrawSelectedItem(obs_scene_t *scene,
|
|||
if (obs_sceneitem_locked(item))
|
||||
return true;
|
||||
|
||||
if (!SceneItemHasVideo(item))
|
||||
return true;
|
||||
|
||||
if (!obs_sceneitem_selected(item))
|
||||
return true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue