summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2011-03-29 01:34:04 +0000
committerAlvin Penner <penner@vaxxine.com>2011-03-29 01:34:04 +0000
commitb8f6fe820fd79215e53360643e47aa60ec3e99b3 (patch)
treec4f51be7cdac5134a01432a83e8cec88f69d899d
parentTranslations. PO files mega update. (diff)
downloadinkscape-b8f6fe820fd79215e53360643e47aa60ec3e99b3.tar.gz
inkscape-b8f6fe820fd79215e53360643e47aa60ec3e99b3.zip
dxf input. modify stop command (Bug 739803)
Fixed bugs: - https://launchpad.net/bugs/739803 (bzr r10131)
-rw-r--r--share/extensions/dxf_input.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/extensions/dxf_input.py b/share/extensions/dxf_input.py
index ee52b8c30..d3bd15ee0 100644
--- a/share/extensions/dxf_input.py
+++ b/share/extensions/dxf_input.py
@@ -311,7 +311,7 @@ def get_group(group):
# define DXF Entities and specify which Group Codes to monitor
-entities = {'MTEXT': export_MTEXT, 'TEXT': export_MTEXT, 'POINT': export_POINT, 'LINE': export_LINE, 'SPLINE': export_SPLINE, 'CIRCLE': export_CIRCLE, 'ARC': export_ARC, 'ELLIPSE': export_ELLIPSE, 'LEADER': export_LEADER, 'LWPOLYLINE': export_LWPOLYLINE, 'HATCH': export_HATCH, 'DIMENSION': export_DIMENSION, 'INSERT': export_INSERT, 'BLOCK': export_BLOCK, 'ENDBLK': export_ENDBLK, 'ATTDEF': export_ATTDEF, 'VIEWPORT': False, 'DICTIONARY': False}
+entities = {'MTEXT': export_MTEXT, 'TEXT': export_MTEXT, 'POINT': export_POINT, 'LINE': export_LINE, 'SPLINE': export_SPLINE, 'CIRCLE': export_CIRCLE, 'ARC': export_ARC, 'ELLIPSE': export_ELLIPSE, 'LEADER': export_LEADER, 'LWPOLYLINE': export_LWPOLYLINE, 'HATCH': export_HATCH, 'DIMENSION': export_DIMENSION, 'INSERT': export_INSERT, 'BLOCK': export_BLOCK, 'ENDBLK': export_ENDBLK, 'ATTDEF': export_ATTDEF, 'VIEWPORT': False, 'EOF': False}
groups = {'1': 0, '2': 1, '3': 2, '6': 3, '8': 4, '10': 5, '11': 6, '13': 7, '14': 8, '20': 9, '21': 10, '23': 11, '24': 12, '40': 13, '41': 14, '42': 15, '50': 16, '51': 17, '62': 18, '70': 19, '72': 20, '73': 21, '92': 22, '93': 23, '370': 24}
colors = { 1: '#FF0000', 2: '#FFFF00', 3: '#00FF00', 4: '#00FFFF', 5: '#0000FF',
6: '#FF00FF', 8: '#414141', 9: '#808080', 12: '#BD0000', 30: '#FF7F00',
@@ -405,7 +405,7 @@ for linename in linetypes.keys(): # scale the dashed lines
entity = ''
block = defs # initiallize with dummy
-while line[0] and line[1] != 'DICTIONARY':
+while line[0] and line[1] != 'EOF':
line = get_line()
if entity and groups.has_key(line[0]):
seqs.append(line[0]) # list of group codes