Fix for linear_extrude request of null object i.e. null text

This commit is contained in:
Keith Sloan
2017-05-11 14:41:27 +01:00
committed by wmayer
parent 513efcba0e
commit 1e04f7da75

View File

@@ -653,6 +653,10 @@ def p_linear_extrude_with_twist(p):
t = float(p[3]['twist'])
else:
t = 0
# Test if null object like from null text
if (len(p[6]) == 0) :
p[0] = []
return
if (len(p[6]) > 1) :
obj = fuse(p[6],"Linear Extrude Union")
else :