From 775e24d2c090bf14710ac0adc408c1a4bb3da79d Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Fri, 15 Aug 2014 12:08:29 +0200 Subject: [PATCH] save debug profiles in project files --- apps/opencs/model/doc/saving.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/opencs/model/doc/saving.cpp b/apps/opencs/model/doc/saving.cpp index 676946930..d587ef3af 100644 --- a/apps/opencs/model/doc/saving.cpp +++ b/apps/opencs/model/doc/saving.cpp @@ -20,6 +20,9 @@ CSMDoc::Saving::Saving (Document& document, const boost::filesystem::path& proje appendStage (new WriteCollectionStage > ( mDocument.getData().getFilters(), mState, CSMWorld::Scope_Project)); + appendStage (new WriteCollectionStage > ( + mDocument.getData().getDebugProfiles(), mState, CSMWorld::Scope_Project)); + appendStage (new CloseSaveStage (mState)); // save content file