fix compile issues due to API change (additional argument)
This commit is contained in:
1 parent
60b60ef9fd
commit
9d0f875c5b
3 files changed
+16
-5
No files matched your search
@@ -129,9 +129,20 @@ bool b3RobotSimulatorClientAPI::connect(int mode, const std::string& hostName, i
|
||||
int argc = 0;
|
||||
char* argv[1] = {0};
|
||||
#ifdef __APPLE__
|
||||
sm = b3CreateInProcessPhysicsServerAndConnectMainThread(argc, argv);
|
||||
sm = b3CreateInProcessPhysicsServerAndConnectMainThread(argc, argv,1);
|
||||
#else
|
||||
sm = b3CreateInProcessPhysicsServerAndConnect(argc, argv);
|
||||
sm = b3CreateInProcessPhysicsServerAndConnect(argc, argv,1);
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
case eCONNECT_GUI_SERVER:
|
||||
{
|
||||
int argc = 0;
|
||||
char* argv[1] = {0};
|
||||
#ifdef __APPLE__
|
||||
sm = b3CreateInProcessPhysicsServerAndConnectMainThread(argc, argv,0);
|
||||
#else
|
||||
sm = b3CreateInProcessPhysicsServerAndConnect(argc, argv,0);
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user