File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -287,6 +287,12 @@ void Scholz2015GeometryPath::extendAddToSystem(
287287 SimTK::MultibodySystem& system) const {
288288 Super::extendAddToSystem (system);
289289
290+ // First, we need to clear the via point and obstacle indexes so that
291+ // repeated calls to addToSystem() do not add the same via points and
292+ // obstacles to the list of indexes multiple times.
293+ _viaPointIndexes.clear ();
294+ _obstacleIndexes.clear ();
295+
290296 const PathPoint& origin = getOrigin ();
291297 const PathPoint& insertion = getInsertion ();
292298 SimTK::CableSubsystem& cables = system.updCableSubsystem ();
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ AddDependency(NAME ezc3d
185185AddDependency(NAME simbody
186186 DEFAULT ON
187187 GIT_URL https://github.com/simbody/simbody.git
188- GIT_TAG f9ab12cbad9d0da106473259d34c50577f934f49
188+ GIT_TAG 7f35622b3c5daac919fc39a2865498c03c553e53
189189 CMAKE_ARGS -DBUILD_EXAMPLES:BOOL =OFF
190190 -DBUILD_TESTING:BOOL =OFF
191191 ${SIMBODY_EXTRA_CMAKE_ARGS} )
You can’t perform that action at this time.
0 commit comments