From: dbv Date: Fri, 25 Dec 2015 16:55:56 +0000 (+0300) Subject: Bug #1170: wrong object names in Main objects field Partition X-Git-Tag: V_2.1.0~29 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7537d722450a5d5a9c46ab67daed67fbb195bed7;p=modules%2Fshaper.git Bug #1170: wrong object names in Main objects field Partition Additional fix --- diff --git a/src/Model/Model_BodyBuilder.cpp b/src/Model/Model_BodyBuilder.cpp index 476e22ace..eeb1edf6f 100755 --- a/src/Model/Model_BodyBuilder.cpp +++ b/src/Model/Model_BodyBuilder.cpp @@ -780,7 +780,7 @@ std::shared_ptr Model_BodyBuilder::shape() { std::shared_ptr aData = std::dynamic_pointer_cast(data()); if (aData) { - TDF_Label& aShapeLab = aData->shapeLab(); + TDF_Label aShapeLab = aData->shapeLab(); Handle(TDF_Reference) aRef; if (aShapeLab.FindAttribute(TDF_Reference::GetID(), aRef)) { aShapeLab = aRef->Get();