From 006de1ab19f3e0d2f7334941685995f0dcc0f982 Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 12 Aug 2016 13:33:48 +0200 Subject: [PATCH] issue #0002666: Error on Save File --- src/Mod/Part/App/PropertyTopoShape.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Part/App/PropertyTopoShape.cpp b/src/Mod/Part/App/PropertyTopoShape.cpp index 784a4e8be..8b556181e 100644 --- a/src/Mod/Part/App/PropertyTopoShape.cpp +++ b/src/Mod/Part/App/PropertyTopoShape.cpp @@ -284,7 +284,7 @@ void PropertyPartShape::SaveDocFile (Base::Writer &writer) const } else { bool direct = App::GetApplication().GetParameterGroupByPath - ("User parameter:BaseApp/Preferences/Mod/Part/General")->GetBool("DirectAccess", false); + ("User parameter:BaseApp/Preferences/Mod/Part/General")->GetBool("DirectAccess", true); if (!direct) { // create a temporary file and copy the content to the zip stream // once the tmp. filename is known use always the same because otherwise @@ -348,7 +348,7 @@ void PropertyPartShape::RestoreDocFile(Base::Reader &reader) } else { bool direct = App::GetApplication().GetParameterGroupByPath - ("User parameter:BaseApp/Preferences/Mod/Part/General")->GetBool("DirectAccess", false); + ("User parameter:BaseApp/Preferences/Mod/Part/General")->GetBool("DirectAccess", true); if (!direct) { BRep_Builder builder; // create a temporary file and copy the content from the zip stream