Add option to check for and set keyframe interval settings

This commit is contained in:
WarmUpTill
2023-04-25 23:28:01 +02:00
committed by WarmUpTill
parent 20f888b991
commit 8c317c1396
12 changed files with 203 additions and 70 deletions

View File

@@ -1120,4 +1120,12 @@ QString GetDefaultSettingsSaveLocation()
timestamp.toString("yyyy.MM.dd.hh.mm.ss");
}
std::string GetPathInProfileDir(const char *filePath)
{
auto path = obs_frontend_get_current_profile_path();
std::string result(path);
bfree(path);
return result + "/" + filePath;
}
} // namespace advss

View File

@@ -117,6 +117,7 @@ std::pair<int, int> GetCursorPos();
void ReplaceAll(std::string &str, const std::string &from,
const std::string &to);
QString GetDefaultSettingsSaveLocation();
std::string GetPathInProfileDir(const char *filePath);
/* Legacy helpers */