Show: py2 support

mostly changes to the way things are imported
+small misc fixes
This commit is contained in:
DeepSOIC
2019-09-12 02:34:26 +03:00
committed by wmayer
parent 20f68358a7
commit 1593efecc7
6 changed files with 29 additions and 23 deletions

View File

@@ -101,7 +101,7 @@ def placement2plane(placement, offset):
def clipPlane(obj, enable, placement = None, offset = 0, tv = None):
if tv is None:
from Show.TempoVis import TempoVis
from Show import TempoVis
tv = TempoVis(obj.Document)
tv.modify(ClipPlane(obj, enable, placement, offset))
return tv