From d3727cb8d2ba959a4bf3387c9aa8848f233cfcab Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 27 Oct 2023 19:00:29 -0400 Subject: Symmetry works --- ext/wittle_generator/Panel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/wittle_generator/Panel.cpp') diff --git a/ext/wittle_generator/Panel.cpp b/ext/wittle_generator/Panel.cpp index 125636f..4bf4be7 100644 --- a/ext/wittle_generator/Panel.cpp +++ b/ext/wittle_generator/Panel.cpp @@ -127,10 +127,10 @@ std::string Panel::Write() { int genericFlags = 0; if (symmetry != Symmetry::None) { genericFlags |= Serializer::Symmetrical; - if (symmetry == Symmetry::Horizontal) { + if (symmetry == Symmetry::Vertical || symmetry == Symmetry::Rotational) { genericFlags |= Serializer::SymmetryX; } - if (symmetry == Symmetry::Vertical) { + if (symmetry == Symmetry::Horizontal || symmetry == Symmetry::Rotational) { genericFlags |= Serializer::SymmetryY; } } -- cgit 1.4.1