This commit is contained in:
Erwin Coumans
2019-09-25 09:10:44 -07:00
5 changed files with 12 additions and 9 deletions

View File

@@ -4005,7 +4005,7 @@ bool PhysicsServerCommandProcessor::processSaveWorldCommand(const struct SharedM
FILE* f = fopen(clientCmd.m_sdfArguments.m_sdfFileName, "w");
if (f)
{
char line[1024];
char line[2048];
{
sprintf(line, "import pybullet as p\n");
int len = strlen(line);

View File

@@ -1276,7 +1276,10 @@ void EGLRendererVisualShapeConverter::render(const float viewMat[16], const floa
render();
m_data->m_camera.disableVRCamera();
// don't disableVRCamera, see issue https://github.com/bulletphysics/bullet3/issues/2390
// todo: check out why
//
// m_data->m_camera.disableVRCamera();
//cout<<viewMat[4*0 + 0]<<" "<<viewMat[4*0+1]<<" "<<viewMat[4*0+2]<<" "<<viewMat[4*0+3] << endl;
//cout<<viewMat[4*1 + 0]<<" "<<viewMat[4*1+1]<<" "<<viewMat[4*1+2]<<" "<<viewMat[4*1+3] << endl;