mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: limit long model_name from makerworld
Jira: STUDIO-12553 Change-Id: I4d43d2b3abbb392baad2ae72d4197a6e61ab3f51 (cherry picked from commit fd0f7688508c0ff2a420bff34beae280cc24cf2b)
This commit is contained in:
@@ -284,6 +284,7 @@ void PrintJob::process(Ctl &ctl)
|
||||
|
||||
std::regex pattern("_+");
|
||||
params.project_name = std::regex_replace(mall_model_name, pattern, "_");
|
||||
params.project_name = truncate_string(params.project_name, 100);
|
||||
}
|
||||
catch (...) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user