using namespace VISU;
switch (aData.myPrsType) {
+ case VISU::TSCALARMAP:
case VISU::TPRSMERGER: // ScalarMap
GeneratePresentations<PrsMerger_i>(myStudy,
aData,
{
std::string aPrsCmt;
switch (thePrsType) {
+ case VISU::TSCALARMAP:
case VISU::TPRSMERGER:
aPrsCmt = VISU::PrsMerger_i::myComment;
break;
string aStr = aName->Value();
QString strName (aStr.c_str());
- if (strName == VISU::PrsMerger_i::myComment.c_str())
+ if (strName == VISU::PrsMerger_i::myComment.c_str() ||
+ strName == VISU::ScalarMap_i::myComment.c_str())
aData.myPrsType = VISU::TPRSMERGER;
else if (strName == VISU::IsoSurfaces_i::myComment.c_str())
aData.myPrsType = VISU::TISOSURFACE;