From: Jérôme Date: Wed, 14 Oct 2020 18:26:56 +0000 (+0200) Subject: Add color on group during impot Step file X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bda905087154fe1184fdafba3b5ccbd4bccfb980;p=modules%2Fshaper.git Add color on group during impot Step file --- diff --git a/src/ExchangePlugin/ExchangePlugin_ImportFeature.cpp b/src/ExchangePlugin/ExchangePlugin_ImportFeature.cpp index 2049662d1..5419e5ec8 100644 --- a/src/ExchangePlugin/ExchangePlugin_ImportFeature.cpp +++ b/src/ExchangePlugin/ExchangePlugin_ImportFeature.cpp @@ -299,6 +299,10 @@ void ExchangePlugin_ImportFeature::setColorGroup(std::shared_ptrcreateGroup(aGroupFeature->data()); + aGroupFeature->setResult(aGroup); + ModelAPI_Tools::setColor(aGroupFeature->lastResult(),theColor); if (aSelectionList->size() == 0 ){