From a9cb7313f7846f8b2bf9f96d19cf28abd7caf7fc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 16 Sep 2024 10:10:46 +0200 Subject: Fix thinko in relative path change. We have to canonicalise relative paths with respect to the film's directory on load, otherwise we try to use the relative path and it's interpreted against the current working directory. This unfortunately requires the film's directory to be piped into quite a lot of new places. --- src/lib/path_behaviour.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/path_behaviour.h') diff --git a/src/lib/path_behaviour.h b/src/lib/path_behaviour.h index 90390e015..cf966af5a 100644 --- a/src/lib/path_behaviour.h +++ b/src/lib/path_behaviour.h @@ -24,9 +24,8 @@ enum class PathBehaviour { - MAKE_ABSOLUTE, + KEEP_ABSOLUTE, MAKE_RELATIVE, - KEEP }; -- cgit v1.2.3