Files
obs-studio/UI
PatTheMav b285a849b9 UI: Fix collision of existing backup files for new scene collections
The new Scene Collection code uses the lazy creation behaviour of
OBSBasic::Load, which itself uses obs_data_create_from_json_file_safe.

The internal implementation will create a new scene collection with the
contents of an existing backup file with the same name however, thus
users would end up with a nominally "new" scene collection that
contains contents of an old backup.

This update will remove any existing backup file colliding with the
name of the new, duplicated, or renamed, scene collection and remove it
before activating it (and having OBSBasic::Load create a new one).
2024-12-03 15:09:11 -05:00
..
2024-11-25 15:45:27 -05:00
2019-02-07 14:47:15 -08:00
2023-05-20 01:31:18 -07:00
2024-08-23 22:09:48 -04:00
2023-05-20 01:31:18 -07:00