From: mpv Date: Fri, 20 Oct 2017 05:54:45 +0000 (+0300) Subject: Fix for naming update problem with partition created with a plane. X-Git-Tag: V_2.9.1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6f413bb23953c5456860d5d673822782335d2a36;p=modules%2Fshaper.git Fix for naming update problem with partition created with a plane. --- diff --git a/src/Model/Model_AttributeSelection.cpp b/src/Model/Model_AttributeSelection.cpp index 95af31053..c29cca229 100644 --- a/src/Model/Model_AttributeSelection.cpp +++ b/src/Model/Model_AttributeSelection.cpp @@ -583,6 +583,11 @@ bool Model_AttributeSelection::update() bool aModified = true; bool aValid = aConstructionContext->update(anIndex->Get(), owner()->document(), aModified); setInvalidIfFalse(aSelLab, aValid); + if (aConstructionContext->isInfinite()) { + // Update the selected shape. + TNaming_Builder aBuilder(aSelLab); + aBuilder.Generated(aConstructionContext->shape()->impl()); + } if (aModified) owner()->data()->sendAttributeUpdated(this); return aValid;