Salome HOME
Issue #459: Check pre-selection for group operation
[modules/shaper.git] / src / Model / Model_ResultBody.cpp
index 2bdea7f5f30bdf54fbd2db814dccdc2b16615f1e..7708c92cfbda5f6707876e72b6e6e49db579d23f 100644 (file)
@@ -46,7 +46,7 @@ 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::type());
+  aData->addAttribute(COLOR_ID(), ModelAPI_AttributeIntArray::typeId());
 }
 
 void Model_ResultBody::colorConfigInfo(std::string& theSection, std::string& theName,