mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-10 22:12:49 +00:00
Fix incorrect path at codegen config
This commit is contained in:
@@ -98,8 +98,9 @@ def parse_generated_settings(gen_path):
|
||||
|
||||
|
||||
def main():
|
||||
orig_path = Path("src/libslic3r/PrintConfig.cpp")
|
||||
gen_path = Path("codegen/generated/PrintConfigDef_generated.cpp")
|
||||
root = Path(__file__).resolve().parent.parent
|
||||
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():
|
||||
print("ERROR: Required files not found")
|
||||
|
||||
Reference in New Issue
Block a user