When adding a new regex rule to the Automatic Scene Switcher, OBS would crash if the regex was invalid. This was because the regex was added to the Regex object without a test or try-catch. This commit fixes that behavior, and adds a warning message when attempting to add an invalid regex. |
||
|---|---|---|
| .. | ||
| data/locale | ||
| forms | ||
| auto-scene-switcher-osx.mm | ||
| auto-scene-switcher-win.cpp | ||
| auto-scene-switcher.cpp | ||
| auto-scene-switcher.hpp | ||
| CMakeLists.txt | ||
| frontend-tools.c | ||