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
@@ -300,7 +300,7 @@ void LightManip(SoSeparator * root)
|
||||
for (int i = 0; i < 3; i++) {
|
||||
sa.setName( pointlightnames[i] );
|
||||
sa.setInterest( SoSearchAction::FIRST );
|
||||
sa.setSearchingAll( FALSE );
|
||||
sa.setSearchingAll( false );
|
||||
sa.apply( root );
|
||||
SoPath * path = sa.getPath();
|
||||
if ( path == NULL) return; // Shouldn't happen.
|
||||
@@ -379,7 +379,7 @@ texture()
|
||||
static void
|
||||
timersensorcallback(void * data, SoSensor *)
|
||||
{
|
||||
static SbBool direction = FALSE;
|
||||
static SbBool direction = false;
|
||||
|
||||
SoTexture2 * texnode = (SoTexture2*) data;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user