From 8ff6f324e686b0bb0b8b73b453be57a45864def2 Mon Sep 17 00:00:00 2001 From: Christian Daniel Jensen Date: Mon, 2 Nov 2026 05:50:18 -0700 Subject: [PATCH] Render and filter Continuum Universes Essence symbols instead of MTG mana --- cockatrice/src/interface/pixel_map_generator.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cockatrice/src/interface/pixel_map_generator.cpp b/cockatrice/src/interface/pixel_map_generator.cpp index 2f5c4b6dd..11a4644a6 100644 --- a/cockatrice/src/interface/pixel_map_generator.cpp +++ b/cockatrice/src/interface/pixel_map_generator.cpp @@ -488,7 +488,10 @@ const QPixmap &ManaSymbolPixmapGenerator::masterIcon(const QString &symbol) return it.value(); } - QImageReader reader("theme:icons/mana/" + symbol); + // Essence uses its own artwork namespace, including codes shared with MTG. + // Theme overrides are supported through icons/essence/.svg/png. + const QString asset = themeManager->assetPath(QStringLiteral("icons/essence/") + symbol); + QImageReader reader(QStringLiteral("theme:") + asset); QSize sourceSize = reader.size(); if (!sourceSize.isEmpty()) { sourceSize.scale(QSize(MASTER_ICON_SIZE, MASTER_ICON_SIZE), Qt::KeepAspectRatio);