From: mpv Date: Fri, 31 Oct 2014 09:11:57 +0000 (+0300) Subject: Make groups apperaed in results X-Git-Tag: V_0.5~52^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9a48ef846675cd731e62106e973af75bfaddce2a;p=modules%2Fshaper.git Make groups apperaed in results --- diff --git a/src/FeaturesPlugin/FeaturesPlugin_Group.cpp b/src/FeaturesPlugin/FeaturesPlugin_Group.cpp index e9ae74d59..c5761b11e 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_Group.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_Group.cpp @@ -9,6 +9,7 @@ #include #include #include +#include using namespace std; @@ -26,6 +27,7 @@ void FeaturesPlugin_Group::initAttributes() void FeaturesPlugin_Group::execute() { if (results().empty()) { // just create result if not exists - document()->createGroup(data()); + ResultPtr aGroup = document()->createGroup(data()); + setResult(aGroup); } }