mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
FIX: enable_prime_tower and enable_wrapping_detection warning does not work
The translated strings cannot match the correct config, delete the translation of these two opt_key jira: STUDIO-13989, STUDIO-13988 Change-Id: I5e8ebf342b5bb18c1ca6a88a3916197941c0cb03 (cherry picked from commit a84d9ab466b1f6b1ccb727d4f34cdb7c2eb8e30a)
This commit is contained in:
@@ -1191,7 +1191,7 @@ StringObjectException Print::validate(StringObjectException *warning, Polygons*
|
|||||||
if (m_config.enable_wrapping_detection) {
|
if (m_config.enable_wrapping_detection) {
|
||||||
StringObjectException clumping_detection_setting_err;
|
StringObjectException clumping_detection_setting_err;
|
||||||
clumping_detection_setting_err.string = L("Clumping detection is not supported when \"by object\" sequence is enabled.");
|
clumping_detection_setting_err.string = L("Clumping detection is not supported when \"by object\" sequence is enabled.");
|
||||||
clumping_detection_setting_err.opt_key = L("enable_wrapping_detection");
|
clumping_detection_setting_err.opt_key = "enable_wrapping_detection";
|
||||||
return clumping_detection_setting_err;
|
return clumping_detection_setting_err;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1216,7 +1216,7 @@ StringObjectException Print::validate(StringObjectException *warning, Polygons*
|
|||||||
if (m_config.enable_wrapping_detection && warning!=nullptr) {
|
if (m_config.enable_wrapping_detection && warning!=nullptr) {
|
||||||
StringObjectException warningtemp;
|
StringObjectException warningtemp;
|
||||||
warningtemp.string = L("Prime tower is required for clumping detection; otherwise, there may be flaws on the model.");
|
warningtemp.string = L("Prime tower is required for clumping detection; otherwise, there may be flaws on the model.");
|
||||||
warningtemp.opt_key = L("enable_prime_tower");
|
warningtemp.opt_key = "enable_prime_tower";
|
||||||
warningtemp.is_warning = true;
|
warningtemp.is_warning = true;
|
||||||
*warning = warningtemp;
|
*warning = warningtemp;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user