mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-27 04:42:33 +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():
|
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")
|
||||||
|
|||||||
Reference in New Issue
Block a user