diff options
author | Lukas Treyer <treyer@arch.ethz.ch> | 2016-08-18 01:13:05 +0300 |
---|---|---|
committer | Lukas Treyer <treyer@arch.ethz.ch> | 2016-08-20 16:11:27 +0300 |
commit | c6af87952d78261c7bc87f730f1ad395145a0610 (patch) | |
tree | 9b9471809b1b68d219b0336d30701d0435da4b31 /io_import_dxf/dxfimport | |
parent | c342d0c69bc59c00309aa078c905237651b8376f (diff) |
related to the latest file in T48806 I found a small bug, which is fixed now. Also dxfgrabber seemed to be incomplete in the last commit.
Diffstat (limited to 'io_import_dxf/dxfimport')
-rw-r--r-- | io_import_dxf/dxfimport/is_.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/io_import_dxf/dxfimport/is_.py b/io_import_dxf/dxfimport/is_.py index 6a8977a5..c6777530 100644 --- a/io_import_dxf/dxfimport/is_.py +++ b/io_import_dxf/dxfimport/is_.py @@ -140,5 +140,7 @@ def combined(typestr): 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 |