From b7e7205073ba90ee279268766e3be5064b311223 Mon Sep 17 00:00:00 2001 From: aymanhab Date: Wed, 25 Sep 2024 16:43:19 -0700 Subject: [PATCH] Move the header for ForceProducer up in swig interface so that ExternalForce has correct inheritance in Java --- Bindings/simulation.i | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Bindings/simulation.i b/Bindings/simulation.i index 0410781319..7d9ad9c676 100644 --- a/Bindings/simulation.i +++ b/Bindings/simulation.i @@ -70,6 +70,8 @@ OpenSim::ModelComponentSet; %include %include +%include + %template(SetForces) OpenSim::Set; %template(ModelComponentSetForces) OpenSim::ModelComponentSet; %include @@ -77,7 +79,6 @@ OpenSim::ModelComponentSet; %template(SetExternalForces) OpenSim::Set; %template(ModelComponentSetExternalForces) OpenSim::ModelComponentSet; -%include %include %template(TwoFrameLinkerForce) OpenSim::TwoFrameLinker; %template(TwoFrameLinkerForceProducer) OpenSim::TwoFrameLinker;