Skip to content

Commit

Permalink
Only set texture origin for non point geometries
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 11, 2020
1 parent 9c87622 commit 053d504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology/qgssymbol.cpp
Expand Up @@ -832,7 +832,7 @@ void QgsSymbol::renderFeature( const QgsFeature &feature, QgsRenderContext &cont
bool usingSegmentizedGeometry = false;
context.setGeometry( geom.constGet() );

if ( !geom.boundingBox().isNull() )
if ( geom.type() != QgsWkbTypes::PointGeometry && !geom.boundingBox().isNull() )
{
try
{
Expand Down

0 comments on commit 053d504

Please sign in to comment.