summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-10-26 22:13:19 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-10-26 22:13:19 (GMT)
commit91be6f762e6333c44b9e88b1f93c5e1c0049db0e (patch)
tree2c619bcd28d4847196ec67a9e6e6a2d0941d11bb
parent1047bd0700842ac2f5f747fe7e5417a0336244a7 (diff)
Clifford Wolf:
Fixed a bug in dxf parser (thx to Zach Smith for reporting the issue) git-svn-id: http://svn.clifford.at/openscad/trunk@122 b57f626f-c46c-0410-a088-ec61d464b74c
-rw-r--r--dxfdata.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/dxfdata.cc b/dxfdata.cc
index b08369e..338cb73 100644
--- a/dxfdata.cc
+++ b/dxfdata.cc
@@ -144,7 +144,8 @@ DxfData::DxfData(double fn, double fs, double fa, QString filename, QString laye
name = data;
break;
case 2:
- in_entities_section = data == "ENTITIES";
+ if (mode == "SECTION")
+ in_entities_section = data == "ENTITIES";
break;
case 8:
layer = data;
contact: Jan Huwald // Impressum