Fix HLAFederate for readXML API change
This commit is contained in:
parent
a636da6959
commit
c40044feeb
@ -798,7 +798,7 @@ HLAFederate::readRTI1516ObjectModelTemplate(const std::string& objectModel)
|
|||||||
// This one covers the generic attributes, parameters and data types.
|
// This one covers the generic attributes, parameters and data types.
|
||||||
HLAOMTXmlVisitor omtXmlVisitor;
|
HLAOMTXmlVisitor omtXmlVisitor;
|
||||||
try {
|
try {
|
||||||
readXML(objectModel, omtXmlVisitor);
|
readXML(SGPath(objectModel), omtXmlVisitor);
|
||||||
} catch (const sg_throwable& e) {
|
} catch (const sg_throwable& e) {
|
||||||
SG_LOG(SG_IO, SG_ALERT, "Could not open HLA XML object model file: "
|
SG_LOG(SG_IO, SG_ALERT, "Could not open HLA XML object model file: "
|
||||||
<< e.getMessage());
|
<< e.getMessage());
|
||||||
|
Loading…
Reference in New Issue
Block a user