From bda905087154fe1184fdafba3b5ccbd4bccfb980 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me?= Date: Wed, 14 Oct 2020 20:26:56 +0200 Subject: [PATCH] Add color on group during impot Step file --- src/ExchangePlugin/ExchangePlugin_ImportFeature.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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 ){ -- 2.39.2