ENH:update text

jira: STUDIO-12117
Change-Id: Idb8af2fd8826c6e0098dbb9ece1da6b8b9109c96
(cherry picked from commit 38364e36c19ba3d35bf08656d5cc62bb5849f21f)
This commit is contained in:
zhou.xu
2025-05-10 14:46:11 +08:00
committed by Noisyfox
parent af1bc806b8
commit 5da190ff0f
5 changed files with 3 additions and 19 deletions

View File

@@ -14150,21 +14150,7 @@ void publish(Model &model, SaveStrategy strategy) {
}
}
// Orca: don't show this in silence mode
if (exist_new && !(strategy & SaveStrategy::Silence)) {
MessageDialog dialog(nullptr,
_L("Are you sure you want to store original SVGs with their local paths into the 3MF file?\n"
"If you hit 'NO', all SVGs in the project will not be editable any more."),
_L("Private protection"), wxYES_NO | wxICON_QUESTION);
if (dialog.ShowModal() == wxID_NO){
for (ModelObject *object : model.objects)
for (ModelVolume *volume : object->volumes)
if (volume->emboss_shape.has_value())
volume->emboss_shape.reset();
}
}
for (SvgFile* svgfile : svgfiles){
for (SvgFile *svgfile : svgfiles) {
if (!svgfile->path_in_3mf.empty())
continue; // already suggested path (previous save)