mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-03 02:22:46 +00:00
Unified the creation of paths of debugging output files
pointing to a predefined output directory.
This commit is contained in:
@@ -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 */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user