Skip to content
Permalink
Browse files

Fix rubber band doesn't like geometries with Z/M

  • Loading branch information
nyalldawson committed Oct 1, 2017
1 parent fc844c6 commit a874faf6a3160dc638fff99820f9c66bede0056f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsrubberband.cpp
@@ -249,7 +249,7 @@ void QgsRubberBand::addGeometry( const QgsGeometry &geometry, QgsVectorLayer *la
geom.transform( ct );
}

switch ( geom.wkbType() )
switch ( QgsWkbTypes::flatType( geom.wkbType() ) )
{

case QgsWkbTypes::Point:

0 comments on commit a874faf

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