From 4cee75504622c8472f0b5f74ddaa85c94bb0de6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Garramu=C3=B1o?= Date: Fri, 1 Mar 2024 09:16:29 -0300 Subject: [PATCH] Kept number in movie. --- mrv2/lib/mrvFl/mrvSaveMovie.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mrv2/lib/mrvFl/mrvSaveMovie.cpp b/mrv2/lib/mrvFl/mrvSaveMovie.cpp index 7a09a004f..4add1e297 100644 --- a/mrv2/lib/mrvFl/mrvSaveMovie.cpp +++ b/mrv2/lib/mrvFl/mrvSaveMovie.cpp @@ -75,7 +75,7 @@ namespace mrv const std::string& directory = path.getDirectory(); const std::string& baseName = path.getBaseName(); - const std::string& number = path.getNumber(); + const std::string& number = path.getNumber(); const std::string& extension = path.getExtension(); std::string newFile = directory + baseName + number + extension; @@ -214,6 +214,7 @@ namespace mrv } newFile = directory + baseName + number + newExtension; + if (newFile != file) { if (fs::exists(newFile))