Merge pull request #1917 from erwincoumans/master
reverse ER_SEGMENTATION_MASK to ER_NO_SEGMENTATION_MASK so segmentation
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -746,7 +746,7 @@ enum EnumRendererAuxFlags
|
||||
{
|
||||
ER_SEGMENTATION_MASK_OBJECT_AND_LINKINDEX = 1,
|
||||
ER_USE_PROJECTIVE_TEXTURE = 2,
|
||||
ER_SEGMENTATION_MASK = 4,
|
||||
ER_NO_SEGMENTATION_MASK = 4,
|
||||
};
|
||||
|
||||
///flags to pick the IK solver and other options
|
||||
|
||||
Reference in New Issue
Block a user