diff --git a/src/Mod/Import/App/AppImportPy.cpp b/src/Mod/Import/App/AppImportPy.cpp index f6df385597..b2dd647085 100644 --- a/src/Mod/Import/App/AppImportPy.cpp +++ b/src/Mod/Import/App/AppImportPy.cpp @@ -253,8 +253,8 @@ private: Handle(TDocStd_Document) hDoc; hApp->NewDocument(TCollection_ExtendedString("MDTV-CAF"), hDoc); - bool keepExplicitPlacement = list.size() > 1; - keepExplicitPlacement = Standard_True; + //bool keepExplicitPlacement = list.size() > 1; + bool keepExplicitPlacement = Standard_True; Import::ExportOCAFCmd ocaf(hDoc, keepExplicitPlacement); std::map > partColors; diff --git a/src/Mod/Import/Gui/AppImportGuiPy.cpp b/src/Mod/Import/Gui/AppImportGuiPy.cpp index 60af16d8af..8f9ace29c7 100644 --- a/src/Mod/Import/Gui/AppImportGuiPy.cpp +++ b/src/Mod/Import/Gui/AppImportGuiPy.cpp @@ -485,8 +485,8 @@ private: Handle(TDocStd_Document) hDoc; hApp->NewDocument(TCollection_ExtendedString("MDTV-CAF"), hDoc); - bool keepExplicitPlacement = list.size() > 1; - keepExplicitPlacement = Standard_True; + //bool keepExplicitPlacement = list.size() > 1; + bool keepExplicitPlacement = Standard_True; ExportOCAFGui ocaf(hDoc, keepExplicitPlacement); // That stuff is exporting a list of selected objects into FreeCAD Tree