make grpc work on Mac OSX with premake

This commit is contained in:
Erwin Coumans
2018-09-04 14:49:12 -07:00
parent 710e660763
commit 51f9a6fd0d
10 changed files with 8289 additions and 10911 deletions

View File

@@ -546,6 +546,7 @@ SharedMemoryCommand* convertGRPCToBulletCommand(const PyBulletCommand& grpcComma
}
int sz = grpcCommand.unknowncommandbinaryblob_size();
if (sz)
{
@@ -571,7 +572,7 @@ SharedMemoryCommand* convertGRPCToBulletCommand(const PyBulletCommand& grpcComma
if (cmdPtr == 0)
{
switch (grpcCommand.commandtype())
switch (cmd.m_type)
{
case CMD_RESET_SIMULATION:
@@ -1244,7 +1245,7 @@ SharedMemoryCommand* convertGRPCToBulletCommand(const PyBulletCommand& grpcComma
printf("unknown convertGRPCToBulletCommand");
assert(0);
}
}
}
}