Call ComplexGeoData::ensureElementMap() in ComplexGeoData::readElements()
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
This commit is contained in:
committed by
Yorik van Havre
parent
0b7632261f
commit
64eb012d7b
@@ -546,10 +546,10 @@ void ComplexGeoData::readElements(Base::XMLReader& reader, size_t count)
|
||||
}
|
||||
}
|
||||
}
|
||||
_elementMap->setElementName(IndexedName(reader.getAttribute("value"), types),
|
||||
MappedName(reader.getAttribute("key")),
|
||||
Tag,
|
||||
&sids);
|
||||
ensureElementMap()->setElementName(IndexedName(reader.getAttribute("value"), types),
|
||||
MappedName(reader.getAttribute("key")),
|
||||
Tag,
|
||||
&sids);
|
||||
}
|
||||
if (invalid_count != 0) {
|
||||
FC_ERR("Found " << invalid_count << " invalid string id"); // NOLINT
|
||||
|
||||
Reference in New Issue
Block a user