Closed AskMP closed 2 weeks ago
I can reproduce the issue on the same setup, but with two exceptions:
@AskMP could you please check again to make sure I understood you correctly?
I think the issue is caused by OBSBasic::on_actionPasteFilters_triggered()
calling GetCurrentSceneItem()
to get only that one source here:
https://github.com/obsproject/obs-studio/blob/753de748e5dd8c796d5eb2290adfc777bdae3501/UI/window-basic-main.cpp#L7868
We probably can create another helper which returns an array of OBSSceneItem
s with all selected ones and apply filters to each of them on with obs_source_copy_filters()
.
Edit: This proof-of concept patch works as expected. I'll file a PR tomorrow.
I'm scene prepping for an event right now so I am cautious of implementing a patch but based on your event call stack labels, I think I can verify that it is exactly that. Thank you! I look forward to seeing the new implementation. 48 source groups in a single shot needing to be individually had their shot filter pasted onto them later... This is great that it's fixed.
I didn't have time to file the PR today, but I'll do that this week.
Closing as stale. If this is still an issue please open a new issue with updated reproduction steps on the latest version of OBS.
Platform
Operating system and version: Windows OBS Studio version: 26.1.1 OBS Log file: N/A
Expected Behavior
Selecting multiple sources within a scene and applying the "Paste Filters" option should paste the previously copied filters on all the selected items, not just the one at the lowest of the source list.
Current Behavior
Pasting only applies the filter(s) to the most lowest source item.
Steps to Reproduce