Use unsigned int for bitfiddling (fixes unused variables warnings on gcc).

This commit is contained in:
Kristian Bendiksen 2020-05-18 18:21:43 +02:00
parent 30cec3e280
commit 9c8fe15d28

View File

@ -1236,7 +1236,7 @@ void Rim3dView::updateDisplayModelVisibility()
// Initialize the mask to show everything except the the bits controlled here
unsigned int mask = 0xffffffff & ~uintSurfaceBit & ~uintFaultBit & ~uintMeshSurfaceBit & ~uintMeshFaultBit &
~intersectionCellFaceBit & ~intersectionCellMeshBit & ~intersectionFaultMeshBit;
~uintIntersectionCellFaceBit & ~uintIntersectionCellMeshBit & ~uintIntersectionFaultMeshBit;
// Then turn the appropriate bits on according to the user settings