mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-02 13:27:14 -05:00
UI: Add startup flag to disable missing files window
Adds a startup flag (--disable-missing-files-check) to disable the missing files dialog from appearing on load. For some users, the missing files dialog may interfere with automation of OBS, or the user may also purposefully have missing files in their scene collection which they do not want to be warned about.
This commit is contained in:
@@ -1173,7 +1173,8 @@ retryScene:
|
||||
|
||||
LogScenes();
|
||||
|
||||
if (obs_missing_files_count(files) > 0) {
|
||||
if (obs_missing_files_count(files) > 0 &&
|
||||
!App()->IsMissingFilesCheckDisabled()) {
|
||||
/* the window hasn't fully initialized by this point on macOS,
|
||||
* so put this at the end of the current task queue. Fixes a
|
||||
* bug where the window be behind OBS on startup */
|
||||
|
||||
Reference in New Issue
Block a user