Skip to content

Commit

Permalink
Fix keepExplicitPlacement
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Marie Verdun authored and yorikvanhavre committed Jul 11, 2017
1 parent 5362650 commit 1b36dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Import/App/AppImportPy.cpp
Expand Up @@ -221,7 +221,7 @@ class Module : public Py::ExtensionModule<Module>
hApp->NewDocument(TCollection_ExtendedString("MDTV-CAF"), hDoc);

bool keepExplicitPlacement = list.size() > 1;

keepExplicitPlacement = Standard_True;
Import::ExportOCAF ocaf(hDoc, keepExplicitPlacement);

for (Py::Sequence::iterator it = list.begin(); it != list.end(); ++it) {
Expand Down

0 comments on commit 1b36dc2

Please sign in to comment.