Update PhysicsServerCommandProcessor.cpp

set alpha default to 1, just in case.
This commit is contained in:
erwincoumans
2019-07-09 08:42:52 -07:00
committed by GitHub
parent bc3969d6ec
commit 9ac2261557

View File

@@ -7474,7 +7474,7 @@ bool PhysicsServerCommandProcessor::processLoadSoftBodyCommand(const struct Shar
visualShape.m_rgbaColor[0] = 0;
visualShape.m_rgbaColor[1] = 0;
visualShape.m_rgbaColor[2] = 0;
visualShape.m_rgbaColor[3] = 0;
visualShape.m_rgbaColor[3] = 1;
visualShape.m_tinyRendererTextureId = -1;
visualShape.m_textureUniqueId =-1;
visualShape.m_openglTextureId = -1;