Skip to content
Permalink
Browse files

Fix more warnings on non-debug builds

  • Loading branch information
nyalldawson committed Nov 12, 2020
1 parent b4397c8 commit 550122d1c3f0c98de3e700fbcba2b083d028b62b
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/providers/ept/qgseptpointcloudindex.cpp
@@ -169,11 +169,13 @@ bool QgsEptPointCloudIndex::load( const QString &fileName )
);


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

// load hierarchy
return loadHierarchy();

0 comments on commit 550122d

Please sign in to comment.
You can’t perform that action at this time.