Arch: When inverting hinge position, keep opening direction
Previously, just the hinge position was changed, with the rotation direction kept unchanged, which would make the door open towards the other side of the wall. This also inverts the rotation direction, so the door still opens toward the same side of the wall, which is more intuitively what you would expect.
This commit is contained in:
@@ -1232,6 +1232,9 @@ class _ViewProviderWindow(ArchComponent.ViewProviderComponent):
|
||||
|
||||
pairs = [["Edge6","Edge8"],["Edge5","Edge7"]]
|
||||
self.invertPairs(pairs)
|
||||
# Also invert opening direction, so the door still opens towards
|
||||
# the same side of the wall
|
||||
self.invertOpening()
|
||||
|
||||
def invertPairs(self,pairs):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user