Salome HOME
Issue #1764: The result of partition is not stored in a folder
[modules/shaper.git] / src / Model / Model_ResultBody.cpp
index 5fb26d84309209720f6c8689237aa89c7e4aa759..80bce61ab64f34182544043f4b18c45e0ef3132e 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <Model_ResultBody.h>
 #include <Model_BodyBuilder.h>
-#include <ModelAPI_AttributeIntArray.h>
 #include <ModelAPI_Tools.h>
 #include <Config_PropManager.h>
 #include <ModelAPI_Events.h>
@@ -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,