Salome HOME
Issue #1660: Ability to change the deflection coefficient
[modules/shaper.git] / src / Model / Model_ResultBody.cpp
index 714d984e8e49e631abd123e79fa6304c49354d61..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>
@@ -22,13 +21,6 @@ Model_ResultBody::Model_ResultBody()
   myConnect = ConnectionNotComputed;
 }
 
-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());
-}
-
 void Model_ResultBody::colorConfigInfo(std::string& theSection, std::string& theName,
   std::string& theDefault)
 {