Skip to content
Snippets Groups Projects
Commit a8d039ad authored by Norihiro Watanabe's avatar Norihiro Watanabe
Browse files

[PCS/LIE] check MeshItemType in PostProcessTool

parent 1a76f0e7
No related branches found
No related tags found
No related merge requests found
......@@ -126,6 +126,13 @@ void PostProcessTool::createProperties()
name, MeshLib::MeshItemType::Cell, n_dest_comp);
new_prop->resize(src_prop->size());
}
else
{
WARN(
"Property '%s' cannot be created because its mesh item type is "
"not supported.",
name.c_str());
}
}
}
......@@ -165,6 +172,13 @@ void PostProcessTool::copyProperties()
{
std::copy(src_prop->begin(), src_prop->end(), dest_prop->begin());
}
else
{
WARN(
"Property '%s' cannot be created because its mesh item type is "
"not supported.",
name.c_str());
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment