mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
debugging function debug_output_path() moved to utils.cpp/hpp
and it now prints to console the default path when called for the first time. Fixed compilation of debugging output in SupportMaterial.
This commit is contained in:
parent
f90b10b63e
commit
ae8e0311d7
4 changed files with 75 additions and 64 deletions
|
@ -58,6 +58,11 @@ void set_data_dir(const std::string &path);
|
|||
// Return a full path to the GUI resource files.
|
||||
const std::string& data_dir();
|
||||
|
||||
// Format an output path for debugging purposes.
|
||||
// Writes out the output path prefix to the console for the first time the function is called,
|
||||
// so the user knows where to search for the debugging output.
|
||||
std::string debug_out_path(const char *name, ...);
|
||||
|
||||
// A special type for strings encoded in the local Windows 8-bit code page.
|
||||
// This type is only needed for Perl bindings to relay to Perl that the string is raw, not UTF-8 encoded.
|
||||
typedef std::string local_encoded_string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue