Skip to content

Commit

Permalink
Made Session not save EDL files in the session file.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Oct 9, 2023
1 parent ce3647d commit a45c01d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions mrv2/docs/HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ v0.8.0
- Added session name to the window's title bar.
- Fixed a typo in Python's binding to sessios (oepenSession instead of
openSession).
- Made Save Session not save temporary EDLs in the session file.

v0.7.9
======
Expand Down
6 changes: 5 additions & 1 deletion mrv2/lib/mrvFl/mrvSession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include "mrvPanels/mrvPanelsCallbacks.h"

#include "mrvEdit/mrvEditCallbacks.h"
#include "mrvEdit/mrvEditUtil.h"

#include "mrvApp/mrvFilesModel.h"
#include "mrvApp/mrvSettingsObject.h"
Expand Down Expand Up @@ -71,8 +72,11 @@ namespace mrv
session["version"] = 6;

std::vector< FilesModelItem > files;
for (const auto& file : files_ptrs)
for (const auto file : files_ptrs)
{
const std::string fileName = file->path.get();
if (isTemporaryEDL(fileName))
continue;
files.push_back(*file.get());
}
session["files"] = files;
Expand Down

0 comments on commit a45c01d

Please sign in to comment.