Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jef-n
Created August 22, 2017 13:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jef-n/c3118bc4c3416cc5df7f11d5d1b865d4 to your computer and use it in GitHub Desktop.
Save jef-n/c3118bc4c3416cc5df7f11d5d1b865d4 to your computer and use it in GitHub Desktop.
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