Skip to content

Commit

Permalink
Arch: small fix in window placements
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Feb 5, 2016
1 parent 1867c0d commit d4d9b7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Mod/Draft/WorkingPlane.py
Expand Up @@ -236,6 +236,8 @@ def alignToFace(self, shape, offset=0):
if DraftVecUtils.equals(self.u,Vector(0,0,1)):
# the X axis is vertical: rotate 90 degrees
self.u,self.v = self.v.negative(),self.u
elif DraftVecUtils.equals(self.u,Vector(0,0,-1)):
self.u,self.v = self.v,self.u.negative()

self.weak = False
return True
Expand Down

0 comments on commit d4d9b7a

Please sign in to comment.