Skip to content

Commit 3ed5714

Browse files
committed
Fix incorrect QGISDEBUG definition check
1 parent 033512a commit 3ed5714

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/core/pointcloud/qgscopcpointcloudindex.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ bool QgsCopcPointCloudIndex::loadSchema( QgsLazInfo &lazInfo )
134134
// TODO: Rounding?
135135
mSpan = mRootBounds.width() / mCopcInfoVlr.spacing;
136136

137-
#ifdef QGIS_DEBUG
137+
#ifdef QGISDEBUG
138138
double dx = xmax - xmin, dy = ymax - ymin, dz = zmax - zmin;
139139
QgsDebugMsgLevel( QStringLiteral( "lvl0 node size in CRS units: %1 %2 %3" ).arg( dx ).arg( dy ).arg( dz ), 2 ); // all dims should be the same
140140
QgsDebugMsgLevel( QStringLiteral( "res at lvl0 %1" ).arg( dx / mSpan ), 2 );

src/core/pointcloud/qgseptpointcloudindex.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ bool QgsEptPointCloudIndex::loadSchema( const QByteArray &dataJson )
358358

359359
mRootBounds = QgsBox3D( xmin, ymin, zmin, xmax, ymax, zmax );
360360

361-
#ifdef QGIS_DEBUG
361+
#ifdef QGISDEBUG
362362
double dx = xmax - xmin, dy = ymax - ymin, dz = zmax - zmin;
363363
QgsDebugMsgLevel( QStringLiteral( "lvl0 node size in CRS units: %1 %2 %3" ).arg( dx ).arg( dy ).arg( dz ), 2 ); // all dims should be the same
364364
QgsDebugMsgLevel( QStringLiteral( "res at lvl0 %1" ).arg( dx / mSpan ), 2 );

0 commit comments

Comments
 (0)