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:
Mateusz Skowroński
2015-12-21 06:15:07 +01:00
committed by wmayer
parent db345cb624
commit 7d0e892d36
96 changed files with 560 additions and 560 deletions

View File

@@ -489,7 +489,7 @@ public:
rot_cam1 = rot;
// copy the values
cam2->enableNotify(FALSE);
cam2->enableNotify(false);
cam2->nearDistance = cam1->nearDistance;
cam2->farDistance = cam1->farDistance;
cam2->focalDistance = cam1->focalDistance;
@@ -512,7 +512,7 @@ public:
static_cast<SoOrthographicCamera*>(cam1)->height;
}
cam2->enableNotify(TRUE);
cam2->enableNotify(true);
}
static
void syncCameraCB(void * data, SoSensor * s)