X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_ResultConstruction.cpp;h=aaade70ff23d3364b2fb930b5c1bc61081d5eac2;hb=2f89053146098946372bae4d1a3fe2e5272ab9e2;hp=0b6d56612c64ffd89b2e735e8f45f67788a29f97;hpb=10ce2de039af32bddace50d895ce7b46f610dd12;p=modules%2Fshaper.git diff --git a/src/Model/Model_ResultConstruction.cpp b/src/Model/Model_ResultConstruction.cpp index 0b6d56612..aaade70ff 100644 --- a/src/Model/Model_ResultConstruction.cpp +++ b/src/Model/Model_ResultConstruction.cpp @@ -1,15 +1,17 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: ModelAPI_ResultConstruction.cpp // Created: 07 Jul 2014 // Author: Mikhail PONIKAROV #include -void Model_ResultConstruction::setShape(boost::shared_ptr theShape) +void Model_ResultConstruction::setShape(std::shared_ptr theShape) { myShape = theShape; } -boost::shared_ptr& Model_ResultConstruction::shape() +std::shared_ptr Model_ResultConstruction::shape() { return myShape; } @@ -17,6 +19,7 @@ boost::shared_ptr& Model_ResultConstruction::shape() Model_ResultConstruction::Model_ResultConstruction() { myIsInHistory = true; + setIsConcealed(false); } void Model_ResultConstruction::setIsInHistory(const bool isInHistory)