]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_Result.cpp
Salome HOME
Draft of transparency
[modules/shaper.git] / src / ModelAPI / ModelAPI_Result.cpp
index 6569136a672e789abffecc1f4441154fcd0ccae6..4aac574bf7b69ead9335ebb8b6a25f46892abdc9 100644 (file)
@@ -37,6 +37,7 @@ void ModelAPI_Result::initAttributes()
   DataPtr aData = data();
   aData->addAttribute(COLOR_ID(), ModelAPI_AttributeIntArray::typeId());
   aData->addAttribute(DEFLECTION_ID(), ModelAPI_AttributeDouble::typeId());
+  aData->addAttribute(TRANSPARENCY_ID(), ModelAPI_AttributeDouble::typeId());
 }
 
 bool ModelAPI_Result::setDisabled(std::shared_ptr<ModelAPI_Result> theThis, const bool theFlag)