diff --git a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp index 2e9349a7f..3c2b11bd9 100644 --- a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp +++ b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp @@ -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); diff --git a/examples/SharedMemory/plugins/eglPlugin/eglRendererVisualShapeConverter.cpp b/examples/SharedMemory/plugins/eglPlugin/eglRendererVisualShapeConverter.cpp index f6eb2ae05..5c808b904 100644 --- a/examples/SharedMemory/plugins/eglPlugin/eglRendererVisualShapeConverter.cpp +++ b/examples/SharedMemory/plugins/eglPlugin/eglRendererVisualShapeConverter.cpp @@ -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<