X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_ResultGroup.cpp;h=87210b5c52a61ccd4b9fdf5b48a3e924e7ef9056;hb=refs%2Ftags%2FV_1.2.1;hp=dd4ee732b7091f9823036048d326bef3f3d6f1af;hpb=d11d4ba5e291b60c458d15e11081515990cc27fe;p=modules%2Fshaper.git diff --git a/src/Model/Model_ResultGroup.cpp b/src/Model/Model_ResultGroup.cpp index dd4ee732b..87210b5c5 100644 --- a/src/Model/Model_ResultGroup.cpp +++ b/src/Model/Model_ResultGroup.cpp @@ -14,6 +14,7 @@ Model_ResultGroup::Model_ResultGroup(std::shared_ptr theOwnerData) { + myIsDisabled = true; // by default it is not initialized and false to be after created setIsConcealed(false); myOwnerData = theOwnerData; } @@ -22,7 +23,7 @@ void Model_ResultGroup::initAttributes() { // append the color attribute. It is empty, the attribute will be filled by a request DataPtr aData = data(); - aData->addAttribute(COLOR_ID(), ModelAPI_AttributeIntArray::type()); + aData->addAttribute(COLOR_ID(), ModelAPI_AttributeIntArray::typeId()); } void Model_ResultGroup::colorConfigInfo(std::string& theSection, std::string& theName,