We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 5b499f2 commit fdada84Copy full SHA for fdada84
src/app/qgsmaptooloffsetcurve.cpp
@@ -90,6 +90,18 @@ void QgsMapToolOffsetCurve::canvasReleaseEvent( QgsMapMouseEvent *e )
90
}
91
mModifiedFeature = fet.id();
92
createUserInputWidget();
93
+
94
+ bool hasZ = QgsWkbTypes::hasZ( mLayer->wkbType() );
95
+ bool hasM = QgsWkbTypes::hasZ( mLayer->wkbType() );
96
+ if ( hasZ || hasM )
97
+ {
98
+ emit messageEmitted( QString( "layer %1 has %2%3%4 geometry. %2%3%4 values be set to 0 when using offset tool." )
99
+ .arg( mLayer->name() )
100
+ .arg( hasZ ? "Z" : "" )
101
+ .arg( hasZ && hasM ? "/" : "" )
102
+ .arg( hasM ? "M" : "" )
103
+ , Qgis::Warning );
104
+ }
105
106
107
0 commit comments