Skip to content

Commit 8153baf

Browse files
committed
Be less strict on QgsMapToPixel convenience constructor in debug mode
1 parent 78fa697 commit 8153baf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/core/qgsmaptopixel.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ QgsMapToPixel::QgsMapToPixel( double mapUnitsPerPixel )
5252
, xMin( 0 )
5353
, yMin( 0 )
5454
{
55-
Q_ASSERT( mapUnitsPerPixel > 0 );
5655
updateMatrix();
5756
}
5857

0 commit comments

Comments
 (0)