Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Treyer <treyer@arch.ethz.ch>2016-08-18 01:13:05 +0300
committerLukas Treyer <treyer@arch.ethz.ch>2016-08-20 16:11:27 +0300
commitc6af87952d78261c7bc87f730f1ad395145a0610 (patch)
tree9b9471809b1b68d219b0336d30701d0435da4b31 /io_import_dxf/dxfimport
parentc342d0c69bc59c00309aa078c905237651b8376f (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_.py2
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