tl;dr, if an ExternalLoads that's loaded from a file is added to an OpenSim::Model and then the original OpenSim::Model will work fine but all in-memory copies of the OpenSim::Model will break on finalizeConnections, because there's code in OpenSim::ExternalLoads that's dependent on the XMLDocument pointer in OpenSim::Object, which is wiped on-copy.
I'll post a relevant PR etc - this is just a stub issue so I have a number for the comments etc.
Downstream issue https://github.com/ComputationalBiomechanicsLab/opensim-creator/issues/924
tl;dr, if an
ExternalLoads
that's loaded from a file is added to anOpenSim::Model
and then the originalOpenSim::Model
will work fine but all in-memory copies of theOpenSim::Model
will break onfinalizeConnections
, because there's code inOpenSim::ExternalLoads
that's dependent on theXMLDocument
pointer inOpenSim::Object
, which is wiped on-copy.I'll post a relevant PR etc - this is just a stub issue so I have a number for the comments etc.