From 6f413bb23953c5456860d5d673822782335d2a36 Mon Sep 17 00:00:00 2001 From: mpv Date: Fri, 20 Oct 2017 08:54:45 +0300 Subject: [PATCH] Fix for naming update problem with partition created with a plane. --- src/Model/Model_AttributeSelection.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.39.2