From 89e930cc96a82860b7318b46c3d289a8aa649dbb Mon Sep 17 00:00:00 2001 From: TNTwise <77559100+TNTwise@users.noreply.github.com> Date: Thu, 11 Jan 2024 04:37:28 +0000 Subject: [PATCH] revert patch --- src/main.cpp | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 9adfe79..2b47317 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -657,32 +657,16 @@ int main(int argc, char** argv) bool rife_v2 = false; bool rife_v4 = false; - if (model.find(PATHSTR("rife-v2")) != path_t::npos) { // fine rife_v2 = true; } - else if (model.find(PATHSTR("rife-v3.6")) != path_t::npos) - { - - rife_v4 = true; - - } - else if (model.find(PATHSTR("rife-v3.9")) != path_t::npos) - { - - rife_v4 = true; - - } else if (model.find(PATHSTR("rife-v3")) != path_t::npos) { - + // fine rife_v2 = true; - - } - else if (model.find(PATHSTR("rife-v4")) != path_t::npos) { // fine @@ -726,7 +710,7 @@ int main(int argc, char** argv) output_files.resize(numframe); timesteps.resize(numframe); - double scale = (double)(count - 1.0) / (numframe - 1.0); + double scale = (double)count / numframe; for (int i=0; i