From 4a6bf110e093c21cee2cdee79106608eff4254e0 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 12 Nov 2012 17:41:04 +0000 Subject: fix #5076 - we failed to actually find any existing snapshots because the path scanner was passing filename only, not full paths, to the filter function which used a Glib::file_test() on it (and failed) git-svn-id: svn://localhost/ardour2/branches/3.0@13459 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/session_state.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/session_state.cc') diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 1a566ec20e..46dee236ae 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -2586,7 +2586,7 @@ Session::find_all_sources_across_snapshots (set& result, bool exclude_th ripped = ripped.substr (0, ripped.length() - 1); } - state_files = scanner (ripped, accept_all_state_files, (void *) 0, false, true); + state_files = scanner (ripped, accept_all_state_files, (void *) 0, true, true); if (state_files == 0) { /* impossible! */ -- cgit v1.2.3