revert linkNames in createMultiBody, we cannot pass pointers pointing to local memory (storing the string) around into shared memory or over the network.

This commit is contained in:
Erwin Coumans
2021-09-20 12:22:30 -07:00
parent 4e881118ef
commit 87605ca4c8
6 changed files with 10 additions and 26 deletions

View File

@@ -2431,8 +2431,7 @@ int b3RobotSimulatorClientAPI_NoDirect::createMultiBody(struct b3RobotSimulatorC
doubleLinkInertialFrameOrientation,
linkParentIndex,
linkJointType,
doubleLinkJointAxis,
0);
doubleLinkJointAxis);
}
statusHandle = b3SubmitClientCommandAndWaitStatus(sm, command);