Fix incorrect path at codegen config

This commit is contained in:
ExPikaPaka
2026-06-04 09:08:27 +02:00
parent a29fac5de8
commit 972da86fbc

View File

@@ -98,8 +98,9 @@ def parse_generated_settings(gen_path):
def main(): def main():
orig_path = Path("src/libslic3r/PrintConfig.cpp") root = Path(__file__).resolve().parent.parent
gen_path = Path("codegen/generated/PrintConfigDef_generated.cpp") orig_path = root / "src/libslic3r/PrintConfig.cpp"
gen_path = root / "src/slic3r/GUI/generated/PrintConfigDef_generated.cpp"
if not orig_path.exists() or not gen_path.exists(): if not orig_path.exists() or not gen_path.exists():
print("ERROR: Required files not found") print("ERROR: Required files not found")