mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Fix rubber band doesn't like geometries with Z/M
This commit is contained in:
parent
fc844c66d4
commit
a874faf6a3
@ -249,7 +249,7 @@ void QgsRubberBand::addGeometry( const QgsGeometry &geometry, QgsVectorLayer *la
|
|||||||
geom.transform( ct );
|
geom.transform( ct );
|
||||||
}
|
}
|
||||||
|
|
||||||
switch ( geom.wkbType() )
|
switch ( QgsWkbTypes::flatType( geom.wkbType() ) )
|
||||||
{
|
{
|
||||||
|
|
||||||
case QgsWkbTypes::Point:
|
case QgsWkbTypes::Point:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user