mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 15:51:10 -06:00
Fixed a regression bug of Slic3r::encode() / decode()
This commit is contained in:
parent
dcbc28fd49
commit
247070cd82
3 changed files with 12 additions and 8 deletions
|
|
@ -44,7 +44,7 @@
|
|||
try {
|
||||
THIS->load_from_gcode(input_file);
|
||||
} catch (std::exception& e) {
|
||||
croak("Error exracting configuration from a g-code %s:\n%s\n", input_file.c_str(), e.what());
|
||||
croak("Error extracting configuration from a g-code %s:\n%s\n", input_file.c_str(), e.what());
|
||||
}
|
||||
%};
|
||||
%name{_save} void save(std::string file);
|
||||
|
|
|
|||
|
|
@ -52,19 +52,22 @@ std::string
|
|||
encode_path(src)
|
||||
const char *src;
|
||||
CODE:
|
||||
Slic3r::encode_path(src);
|
||||
RETVAL = Slic3r::encode_path(src);
|
||||
OUTPUT: RETVAL
|
||||
|
||||
std::string
|
||||
decode_path(src)
|
||||
const char *src;
|
||||
CODE:
|
||||
Slic3r::decode_path(src);
|
||||
RETVAL = Slic3r::decode_path(src);
|
||||
OUTPUT: RETVAL
|
||||
|
||||
std::string
|
||||
normalize_utf8_nfc(src)
|
||||
const char *src;
|
||||
CODE:
|
||||
Slic3r::normalize_utf8_nfc(src);
|
||||
RETVAL = Slic3r::normalize_utf8_nfc(src);
|
||||
OUTPUT: RETVAL
|
||||
|
||||
void
|
||||
xspp_test_croak_hangs_on_strawberry()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue