Show: py2 support
mostly changes to the way things are imported +small misc fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user