Salome HOME
Issue #3140: Modify Iso-lines of a shape presentation
[modules/shaper.git] / src / ModelAPI / ModelAPI_Result.cpp
index 18c96fbc91edff5665d7319f270921dd2fb66244..b3d3dc574a5731da280aa7f220bdbff995d8d04a 100644 (file)
@@ -37,6 +37,7 @@ void ModelAPI_Result::initAttributes()
   aData->addAttribute(COLOR_ID(), ModelAPI_AttributeIntArray::typeId())->setIsArgument(false);
   aData->addAttribute(DEFLECTION_ID(), ModelAPI_AttributeDouble::typeId())->setIsArgument(false);
   aData->addAttribute(TRANSPARENCY_ID(), ModelAPI_AttributeDouble::typeId())->setIsArgument(false);
+  aData->addAttribute(ISO_LINES_ID(), ModelAPI_AttributeIntArray::typeId())->setIsArgument(false);
 }
 
 bool ModelAPI_Result::setDisabled(std::shared_ptr<ModelAPI_Result> theThis, const bool theFlag)