]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Added model.do() after part dump for correct objects concealment.
authordbv <dbv@opencascade.com>
Mon, 13 Feb 2017 09:50:43 +0000 (12:50 +0300)
committerdbv <dbv@opencascade.com>
Mon, 13 Feb 2017 09:50:43 +0000 (12:50 +0300)
src/ModelHighAPI/ModelHighAPI_Dumper.cpp

index f3b96003e9e1a4a950719095161f755e36260f2b..a90cf4c0545d95648561ee6f6013767ae15db57e 100644 (file)
@@ -295,7 +295,9 @@ bool ModelHighAPI_Dumper::process(const std::shared_ptr<ModelAPI_CompositeFeatur
     // dump document in a separate line
     *this << aDocName << " = " << aPartName << ".document()" << std::endl;
     // dump features in the document
-    return process(aSubDoc);
+    bool aRes = process(aSubDoc);
+    *this << "model.do()" << std::endl;
+    return aRes;
   }
 
   // dump sub-features