Draft: fix error in PR #8698 (#9160)

fix for mistake in pr https://github.com/FreeCAD/FreeCAD/pull/8698
see comment 9983207ab8 (r1155160709)
This commit is contained in:
Jolbas
2023-04-02 11:23:59 +02:00
committed by GitHub
parent 0ac66f1ecd
commit bd627a469f

View File

@@ -892,7 +892,7 @@ class Plane:
and a `Rotation` (`Base::Rotation`).
"""
if rotated:
m = DraftVecUtils.getPlaneRotation(self.u, self.v)
m = DraftVecUtils.getPlaneRotation(self.u, self.axis)
else:
m = DraftVecUtils.getPlaneRotation(self.u, self.v)
m.move(self.position)