Update ClipPlane.py

This commit is contained in:
PRDC
2020-10-28 15:58:07 +01:00
committed by abdullahtahiriyo
parent 43596a68af
commit cc0f147362

View File

@@ -39,7 +39,7 @@ class ClipPlane(SceneDetail):
if enable is not None:
if placement is not None and offset != 0.0:
placement = placement.copy()
dir = placement.multVec(App.Vector(0,0,1))
dir = placement.Rotation.multVec(App.Vector(0,0,1))
placement.Base = placement.Base + dir*offset
self.data = (enable, placement)