Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78
This change is Qt4/Qt5 neutral.
This commit is contained in:
committed by
wmayer
parent
db345cb624
commit
7d0e892d36
@@ -77,8 +77,8 @@ SoFCBoundingBox::SoFCBoundingBox ()
|
||||
|
||||
SO_NODE_ADD_FIELD(minBounds, (-1.0, -1.0, -1.0));
|
||||
SO_NODE_ADD_FIELD(maxBounds, ( 1.0, 1.0, 1.0));
|
||||
SO_NODE_ADD_FIELD(coordsOn, (TRUE));
|
||||
SO_NODE_ADD_FIELD(dimensionsOn, (TRUE));
|
||||
SO_NODE_ADD_FIELD(coordsOn, (true));
|
||||
SO_NODE_ADD_FIELD(dimensionsOn, (true));
|
||||
|
||||
root = new SoSeparator();
|
||||
SoSeparator *bboxSep = new SoSeparator();
|
||||
|
||||
Reference in New Issue
Block a user