From b53018acc54a7b8812a0b9830562879071d05fa6 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sun, 21 Sep 2025 12:44:50 -0400 Subject: [Data] Annotate shuffleable ports --- tools/validator/validator.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'tools/validator/validator.cpp') diff --git a/tools/validator/validator.cpp b/tools/validator/validator.cpp index dd41f5c..93efdc6 100644 --- a/tools/validator/validator.cpp +++ b/tools/validator/validator.cpp @@ -273,6 +273,21 @@ class Validator { } } } + + for (const HumanPort& port : port_info.definitions) { + if (!port.no_shuffle()) { + if (!port.has_destination()) { + std::cout << "Port " << port_identifier.ShortDebugString() + << " is shuffleable and missing a destination." + << std::endl; + } + if (!port.has_rotation()) { + std::cout << "Port " << port_identifier.ShortDebugString() + << " is shuffleable and missing a rotation." + << std::endl; + } + } + } } void ValidatePainting(const PaintingIdentifier& painting_identifier, -- cgit 1.4.1