From: dbv Date: Thu, 11 Aug 2016 10:32:57 +0000 (+0300) Subject: Issue #1648: Dump Python in the High Level Parameterized Geometry API X-Git-Tag: V_2.5.0~137^2~71 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2bcce04390372dbcbd86640368c3d4766b4a0a77;p=modules%2Fshaper.git Issue #1648: Dump Python in the High Level Parameterized Geometry API Fix for result taking. --- diff --git a/src/ModelHighAPI/ModelHighAPI_Interface.cpp b/src/ModelHighAPI/ModelHighAPI_Interface.cpp index a9af48585..3d351650b 100644 --- a/src/ModelHighAPI/ModelHighAPI_Interface.cpp +++ b/src/ModelHighAPI/ModelHighAPI_Interface.cpp @@ -57,6 +57,8 @@ std::list ModelHighAPI_Interface::result() const std::shared_ptr ModelHighAPI_Interface::defaultResult() const { + const_cast(this)->execute(); + return feature()->lastResult(); }