reverse ER_SEGMENTATION_MASK to ER_NO_SEGMENTATION_MASK so segmentation

mask is rendered by default
This commit is contained in:
Erwin Coumans
2018-10-04 14:14:24 -07:00
parent 8aff1fbd49
commit 24ca5afe95
3 changed files with 3 additions and 3 deletions

View File

@@ -3517,7 +3517,7 @@ bool PhysicsServerCommandProcessor::processRequestCameraImageCommand(const struc
this->m_data->m_guiHelper->setProjectiveTexture(false);
}
if ((flags & (ER_SEGMENTATION_MASK_OBJECT_AND_LINKINDEX + ER_SEGMENTATION_MASK)) == 0)
if ((flags & ER_NO_SEGMENTATION_MASK) != 0)
{
segmentationMaskBuffer = 0;
}