Skip to content

Instantly share code, notes, and snippets.

@jef-n
Created August 22, 2017 13:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
diff --git a/src/core/dxf/qgsdxfexport.cpp b/src/core/dxf/qgsdxfexport.cpp
index 45b1d34926..f9418cb679 100644
--- a/src/core/dxf/qgsdxfexport.cpp
+++ b/src/core/dxf/qgsdxfexport.cpp
@@ -3487,6 +3487,12 @@ void QgsDxfExport::writePolyline( const QgsPointSequence &line, const QString &l
writeGroup( 0, QgsPoint( QgsWkbTypes::PointZ ) );
writeGroup( 70, 8 );
+ if( width > 0 )
+ {
+ writeGroup( 40, width );
+ writeGroup( 41, width );
+ }
+
for ( int i = 0; i < n; i++ )
{
writeGroup( 0, QStringLiteral( "VERTEX" ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment