From 2bcce04390372dbcbd86640368c3d4766b4a0a77 Mon Sep 17 00:00:00 2001 From: dbv Date: Thu, 11 Aug 2016 13:32:57 +0300 Subject: [PATCH] Issue #1648: Dump Python in the High Level Parameterized Geometry API Fix for result taking. --- src/ModelHighAPI/ModelHighAPI_Interface.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(); } -- 2.39.2