Change default file saving preferences (#10781)

* Change default compression level from 3 to 7
* increase default thumbnail size to 256
This commit is contained in:
dyylanhammond
2023-09-27 17:08:43 -04:00
committed by GitHub
parent a48490f518
commit 3b44bba8ac
3 changed files with 4 additions and 4 deletions

View File

@@ -1354,7 +1354,7 @@ void Document::Save (Base::Writer &writer) const
ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Document");
if (hGrp->GetBool("SaveThumbnail", true)) {
int size = hGrp->GetInt("ThumbnailSize", 128);
int size = hGrp->GetInt("ThumbnailSize", 256);
size = Base::clamp<int>(size, 64, 512);
std::list<MDIView*> mdi = getMDIViews();
for (const auto & it : mdi) {