From 46088d9449eb1f2453084ab22b576d87378405da Mon Sep 17 00:00:00 2001 From: dbv Date: Wed, 20 Apr 2016 14:51:01 +0300 Subject: [PATCH] Fix for plane selection. Selection attribute return empty shape for construction. --- src/Model/Model_AttributeSelection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Model/Model_AttributeSelection.cpp b/src/Model/Model_AttributeSelection.cpp index 960305ca6..be028e276 100644 --- a/src/Model/Model_AttributeSelection.cpp +++ b/src/Model/Model_AttributeSelection.cpp @@ -185,8 +185,8 @@ std::shared_ptr Model_AttributeSelection::value() if (myTmpContext.get() || myTmpSubShape.get()) { ResultConstructionPtr aResulConstruction = std::dynamic_pointer_cast(myTmpContext); if(aResulConstruction.get()) { - // it is just reference to construction, nothing is in value - return aResult; + // it is just reference to construction. + return myTmpSubShape; } return myTmpSubShape.get() ? myTmpSubShape : myTmpContext->shape(); } -- 2.39.2