Hopsan / hopsan

Hopsan is a free multi-domain system simulation tool developed at the division of Fluid and mechatronic systems at Linköping university.
Apache License 2.0
157 stars 43 forks source link

Fix crash when replacing subtype components with missing component #2175

Closed robbr48 closed 1 year ago

robbr48 commented 1 year ago

Don't keep subtypename attribute when replacing missing components with MissingComponent typename. This attemtps to load a component which is a subtype of MissingComponent, which does not exist.