Commit 4cd942d7 authored by T.J. Corona's avatar T.J. Corona Committed by David Thompson

mesh/moab/Tags: create name tag if necessary.

parent 5796503f
......@@ -53,7 +53,8 @@ public:
, m_tagData()
{
//populate our tag
m_iface->tag_get_handle(NAME_TAG_NAME, NAME_TAG_SIZE, ::moab::MB_TYPE_OPAQUE, m_tag);
auto res = m_iface->tag_get_handle(NAME_TAG_NAME, NAME_TAG_SIZE, ::moab::MB_TYPE_OPAQUE, m_tag,
::moab::MB_TAG_SPARSE | ::moab::MB_TAG_CREAT);
}
//reset our warnings to the original level
#ifdef _MSC_VER
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment