From 70f86b982e7768a001599e09664e1c89c4fb8399 Mon Sep 17 00:00:00 2001 From: kintel Date: Wed, 27 Jan 2010 13:03:07 +0000 Subject: bugfix: linear and rotated DIMENSION entities used wrong value as angle git-svn-id: http://svn.clifford.at/openscad/trunk@356 b57f626f-c46c-0410-a088-ec61d464b74c diff --git a/dxfdata.cc b/dxfdata.cc index bc218b2..864ee7b 100644 --- a/dxfdata.cc +++ b/dxfdata.cc @@ -244,7 +244,7 @@ DxfData::DxfData(double fn, double fs, double fa, QString filename, QString laye for (int i = 0; i < 7; i++) for (int j = 0; j < 2; j++) this->dims.last().coords[i][j] = coords[i][j]; - this->dims.last().angle = ellipse_start_angle; + this->dims.last().angle = arc_start_angle; this->dims.last().length = radius; this->dims.last().name = name; } @@ -324,6 +324,7 @@ DxfData::DxfData(double fn, double fs, double fa, QString filename, QString laye case 50: // ARC: start_angle // INSERT: rot angle + // DIMENSION: linear and rotated: angle arc_start_angle = data.toDouble(); break; case 42: -- cgit v0.10.1