From: vsv Date: Fri, 9 Aug 2019 08:42:25 +0000 (+0300) Subject: Fix a problem with getting result using Python interface X-Git-Tag: VEDF2019Lot4~60 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=83578c47d9b2f8c51a63fe2415972b27bcaca395;p=modules%2Fshaper.git Fix a problem with getting result using Python interface --- diff --git a/src/ModelHighAPI/ModelHighAPI_Interface.cpp b/src/ModelHighAPI/ModelHighAPI_Interface.cpp index cb0373bfa..b75b0f59e 100644 --- a/src/ModelHighAPI/ModelHighAPI_Interface.cpp +++ b/src/ModelHighAPI/ModelHighAPI_Interface.cpp @@ -107,7 +107,7 @@ ModelHighAPI_Selection ModelHighAPI_Interface::result() const std::list ModelHighAPI_Interface::results() const { - const_cast(this)->execute(); + const_cast(this)->execute(true); std::list aSelectionList;