[Bugfix]Sketcher: fix cross section side switch not working except for XY plane
This commit is contained in:
@@ -450,9 +450,7 @@ class TempoVis(object):
|
||||
toggle = {False: 0, True: 1, None: -1}[enable]
|
||||
|
||||
if reverted:
|
||||
skNorm = pla.Rotation.multVec(App.Vector(0,0,1))
|
||||
skInvNorm = skNorm.negative()
|
||||
pla = pla * App.Rotation(skNorm, skInvNorm)
|
||||
pla = pla * App.Rotation(0, 1, 0, 0)
|
||||
|
||||
if enable: # clip plane shall be disabled so new placement can be applied
|
||||
self.modify(ClipPlane(doc, 0))
|
||||
|
||||
Reference in New Issue
Block a user