From 7537d722450a5d5a9c46ab67daed67fbb195bed7 Mon Sep 17 00:00:00 2001 From: dbv Date: Fri, 25 Dec 2015 19:55:56 +0300 Subject: [PATCH] Bug #1170: wrong object names in Main objects field Partition Additional fix --- src/Model/Model_BodyBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.2