viewer: allow temporarily suspending the auto-cache

While the auto-cache will always default to on, there are cases where the
user may not want the viewer to barrel ahead caching something (footage
viewer for instance or if the user is making a lot of changes in a short
amount of time).
This commit is contained in:
itsmattkc
2020-06-15 18:28:11 +10:00
parent 45917cfd29
commit cc463c7c60
4 changed files with 34 additions and 7 deletions
+1 -2
View File
@@ -82,8 +82,7 @@ void Config::SetDefaults()
config_map_["DropWithoutSequenceBehavior"] = TimelineWidget::kDWSAsk;
config_map_["Loop"] = false;
config_map_["AutoCache"] = true;
config_map_["AutoCacheInterval"] = 1000;
config_map_["AutoCacheInterval"] = 250;
config_map_["NodeCatColor0"] = QVariant::fromValue(Color(0.75f, 0.75f, 0.75f));
config_map_["NodeCatColor1"] = QVariant::fromValue(Color(0.25f, 0.25f, 0.25f));