From 6bd830a3a5159066a1b4cbdf8d0a479e775929ec Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Mon, 9 Feb 2026 21:58:18 -0600 Subject: [PATCH] Add special handling for MeshPart (cherry picked from commit 3711baa375f566e62d673e9f49cbc6f81aa3fc67) --- Addon.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Addon.py b/Addon.py index 82347290..93bf9b88 100644 --- a/Addon.py +++ b/Addon.py @@ -758,6 +758,13 @@ def import_from_addon(self, repo: Addon, all_repos: List[Addon]): # Plot might fail for a number of reasons self.wbs.append(dep) fci.Console.PrintLog("Failed to import Plot module\n") + elif dep.lower() == "meshpart": + # MeshPart is strange: it doesn't ever appear in the listWorkbenches() output + try: + __import__("MeshPart") + except ImportError: + self.wbs.append(dep) + fci.Console.PrintLog("Failed to import MeshPart module\n") else: self.wbs.append(dep)