Fix bad copy-paste in direction computing.

This commit is contained in:
Sergey Vartanov 2021-12-12 10:14:09 +03:00
parent 0a61a6e17e
commit 67c2d98917

View file

@ -552,7 +552,7 @@ class Scheme:
if ( if (
DirectionSet(tags[key]).is_right() is False DirectionSet(tags[key]).is_right() is False
and specification.shape.is_right_directed is True and specification.shape.is_right_directed is True
or specification.shape.is_right_directed is True or DirectionSet(tags[key]).is_right() is True
and specification.shape.is_right_directed is False and specification.shape.is_right_directed is False
): ):
specification.flip_horizontally = True specification.flip_horizontally = True