mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 22:00:05 +00:00
typo (thanks Avik for the report!)
This commit is contained in:
parent
f81211f3b0
commit
b12ccd92c8
@ -539,7 +539,7 @@ bool b3RobotSimulatorClientAPI::getJointState(int bodyUniqueId, int jointIndex,
|
||||
b3SharedMemoryCommandHandle command = b3RequestActualStateCommandInit(m_data->m_physicsClientHandle,bodyUniqueId);
|
||||
b3SharedMemoryStatusHandle statusHandle = b3SubmitClientCommandAndWaitStatus(m_data->m_physicsClientHandle, command);
|
||||
int statusType = b3GetStatusType(statusHandle);
|
||||
if (statusType != CMD_ACTUAL_STATE_UPDATE_COMPLETED)
|
||||
if (statusType == CMD_ACTUAL_STATE_UPDATE_COMPLETED)
|
||||
{
|
||||
if (b3GetJointState(m_data->m_physicsClientHandle, statusHandle, jointIndex, state))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user