mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -06:00
Unified the creation of paths of debugging output files
pointing to a predefined output directory.
This commit is contained in:
parent
59f3fed9f2
commit
15d3e94a66
13 changed files with 42 additions and 74 deletions
|
@ -862,7 +862,7 @@ void EdgeGrid::Grid::calculate_sdf()
|
|||
}
|
||||
}
|
||||
}
|
||||
img.SaveFile("out\\unsigned_df.png", wxBITMAP_TYPE_PNG);
|
||||
img.SaveFile(debug_out_path("unsigned_df.png"), wxBITMAP_TYPE_PNG);
|
||||
}
|
||||
{
|
||||
wxImage img(ncols, nrows);
|
||||
|
@ -895,7 +895,7 @@ void EdgeGrid::Grid::calculate_sdf()
|
|||
}
|
||||
}
|
||||
}
|
||||
img.SaveFile("out\\signed_df.png", wxBITMAP_TYPE_PNG);
|
||||
img.SaveFile(debug_out_path("signed_df.png"), wxBITMAP_TYPE_PNG);
|
||||
}
|
||||
#endif /* SLIC3R_GUI */
|
||||
|
||||
|
@ -1020,7 +1020,7 @@ void EdgeGrid::Grid::calculate_sdf()
|
|||
}
|
||||
}
|
||||
}
|
||||
img.SaveFile("out\\signed_df-signs.png", wxBITMAP_TYPE_PNG);
|
||||
img.SaveFile(debug_out_path("signed_df-signs.png"), wxBITMAP_TYPE_PNG);
|
||||
}
|
||||
#endif /* SLIC3R_GUI */
|
||||
|
||||
|
@ -1049,7 +1049,7 @@ void EdgeGrid::Grid::calculate_sdf()
|
|||
}
|
||||
}
|
||||
}
|
||||
img.SaveFile("out\\signed_df2.png", wxBITMAP_TYPE_PNG);
|
||||
img.SaveFile(debug_out_path("signed_df2.png"), wxBITMAP_TYPE_PNG);
|
||||
}
|
||||
#endif /* SLIC3R_GUI */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue