From: mpv Date: Tue, 13 Feb 2018 12:18:51 +0000 (+0300) Subject: Fix for the issue #2430 : faces not named in group and field after import XAO X-Git-Tag: V_3.0.0~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ad62fec6e5f5d4e24a2ba4271467a9ac9f3949bf;p=modules%2Fshaper.git Fix for the issue #2430 : faces not named in group and field after import XAO --- diff --git a/src/Model/Model_Document.cpp b/src/Model/Model_Document.cpp index 78afb82aa..ebc01b3e6 100755 --- a/src/Model/Model_Document.cpp +++ b/src/Model/Model_Document.cpp @@ -1146,7 +1146,8 @@ void Model_Document::setCurrentFeature( aDisabledFlag = false; else if (anOwners.find(anIter) != anOwners.end()) // disable the higher-level feature if the nested is the current - aDisabledFlag = true; + if (aMain->getKind() != "Import") // exception for the import XAO feature with Group (2430) + aDisabledFlag = true; } if (anIter->getKind() == "Parameter") {