Arch: small bugfix in cutvolumes
This commit is contained in:
parent
238becaebb
commit
8b4492ebc5
|
@ -358,6 +358,8 @@ def getCutVolume(cutplane,shapes):
|
|||
from the given shapes and the given cutting plane"""
|
||||
if not shapes:
|
||||
return None,None,None
|
||||
if not cutplane.Faces:
|
||||
return None,None,None
|
||||
import Part
|
||||
if not isinstance(shapes,list):
|
||||
shapes = [shapes]
|
||||
|
|
Loading…
Reference in New Issue
Block a user