]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix a problem with getting result using Python interface
authorvsv <vsv@opencascade.com>
Fri, 9 Aug 2019 08:42:25 +0000 (11:42 +0300)
committervsv <vsv@opencascade.com>
Fri, 9 Aug 2019 08:42:25 +0000 (11:42 +0300)
src/ModelHighAPI/ModelHighAPI_Interface.cpp

index cb0373bfa4c2ef4582f6851a6d308bb151dcc143..b75b0f59e4087bddd9ba4b96a046c29774bd52c5 100644 (file)
@@ -107,7 +107,7 @@ ModelHighAPI_Selection ModelHighAPI_Interface::result() const
 
 std::list<ModelHighAPI_Selection> ModelHighAPI_Interface::results() const
 {
-  const_cast<ModelHighAPI_Interface*>(this)->execute();
+  const_cast<ModelHighAPI_Interface*>(this)->execute(true);
 
   std::list<ModelHighAPI_Selection> aSelectionList;