diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-07 23:18:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-07 23:19:10 +0300 |
commit | 4c132dc503c7c9506e301be5b479c6c579ce9723 (patch) | |
tree | 0cdd69eed9169d4b30a8c37dd33e5f80790ce3cc /io_import_dxf/dxfimport | |
parent | 772b5e1e245b76f0aab8b962d1e537b75ec0fbfe (diff) | |
parent | f1c55295b0d95307559c1f8b09d6b8bd6c8bbbf0 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'io_import_dxf/dxfimport')
-rw-r--r-- | io_import_dxf/dxfimport/convert.py | 6 | ||||
-rw-r--r-- | io_import_dxf/dxfimport/is_.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/io_import_dxf/dxfimport/convert.py b/io_import_dxf/dxfimport/convert.py index 717bd4f2..8935480e 100644 --- a/io_import_dxf/dxfimport/convert.py +++ b/io_import_dxf/dxfimport/convert.py @@ -278,14 +278,14 @@ def split_by_width(entity): en_template.bulge = [] en_template.width = [] en_template.tangents = [] - - # is_closed is an attrib only on polyline + + # is_closed is an attrib only on polyline if en_template.dxftype == 'POLYLINE': en_template.is_closed = False else: # disable closed flag (0x01) when is_closed is a @property en_template.flags ^= 1 - + i = 0 for pair, same_width in itertools.groupby(entity.width, key=lambda w: WidthTuple(w)): en = deepcopy(en_template) diff --git a/io_import_dxf/dxfimport/is_.py b/io_import_dxf/dxfimport/is_.py index c6777530..021e69d3 100644 --- a/io_import_dxf/dxfimport/is_.py +++ b/io_import_dxf/dxfimport/is_.py @@ -143,4 +143,4 @@ def extrusion(entity): if entity.extrusion is None: return False return Vector(entity.extrusion) != Vector((0, 0, 1)) \ - or (hasattr(entity, "elevation") and entity.elevation != 0)
\ No newline at end of file + or (hasattr(entity, "elevation") and entity.elevation != 0) |