From 7df6288fbe747a61ab684bcb021e6477db992270 Mon Sep 17 00:00:00 2001 From: mpv Date: Mon, 23 Nov 2015 09:04:00 +0300 Subject: [PATCH] Roll back integration that makes solids of compsolids impossible to select --- src/Model/Model_AttributeSelection.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Model/Model_AttributeSelection.cpp b/src/Model/Model_AttributeSelection.cpp index 84d4c2974..9d375b2ac 100644 --- a/src/Model/Model_AttributeSelection.cpp +++ b/src/Model/Model_AttributeSelection.cpp @@ -99,10 +99,6 @@ void Model_AttributeSelection::setValue(const ResultPtr& theContext, if (isOldShape) return; // shape is the same, so context is also unchanged // update the referenced object if needed if (!isOldContext) { - ResultCompSolidPtr anOwner = ModelAPI_Tools::compSolidOwner(theContext); - if (anOwner.get()) - myRef.setValue(anOwner); - else myRef.setValue(theContext); } -- 2.39.2