Arch: small bugfix in cutvolumes

This commit is contained in:
Yorik van Havre 2015-06-17 09:45:01 -03:00
parent 238becaebb
commit 8b4492ebc5

View File

@ -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]