X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_ResultBody.cpp;h=80bce61ab64f34182544043f4b18c45e0ef3132e;hb=176403004ff97696f3c0b5f8bdf48692177fb34a;hp=5fb26d84309209720f6c8689237aa89c7e4aa759;hpb=8ab0ae98e90b50e4bc2d8280f5734a1fad142a76;p=modules%2Fshaper.git diff --git a/src/Model/Model_ResultBody.cpp b/src/Model/Model_ResultBody.cpp index 5fb26d843..80bce61ab 100644 --- a/src/Model/Model_ResultBody.cpp +++ b/src/Model/Model_ResultBody.cpp @@ -6,7 +6,6 @@ #include #include -#include #include #include #include @@ -19,13 +18,7 @@ Model_ResultBody::Model_ResultBody() { myBuilder = new Model_BodyBuilder(this); myWasConcealed = false; -} - -void Model_ResultBody::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::typeId()); + myConnect = ConnectionNotComputed; } void Model_ResultBody::colorConfigInfo(std::string& theSection, std::string& theName,