From: mpv Date: Mon, 23 Nov 2015 06:04:00 +0000 (+0300) Subject: Roll back integration that makes solids of compsolids impossible to select X-Git-Tag: V_2.1.0~244 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7df6288fbe747a61ab684bcb021e6477db992270;p=modules%2Fshaper.git Roll back integration that makes solids of compsolids impossible to select --- 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); }