This commit is contained in:
Chuyuan Kelly Fu
2022-03-08 22:00:14 -08:00
parent e576dbe92c
commit 158eb6d63b
3 changed files with 3 additions and 3 deletions

View File

@@ -5662,7 +5662,7 @@ bool PhysicsServerCommandProcessor::processRequestMeshDataCommand(const struct S
}
bool separateRenderMesh = false;
if ((clientCmd.m_updateFlags & B3_MESH_DATA_SIMULATION_MESH) == 0)
if ((clientCmd.m_updateFlags & B3_MESH_DATA_SIMULATION_MESH) == 0 && (flags & B3_MESH_DATA_SIMULATION_MESH) == 0)
{
separateRenderMesh = (psb->m_renderNodes.size() != 0);
}