summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Common/Code/Serialize/ProjectSettingsSerializer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Authoring/Common/Code/Serialize/ProjectSettingsSerializer.h')
-rw-r--r--src/Authoring/Common/Code/Serialize/ProjectSettingsSerializer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Authoring/Common/Code/Serialize/ProjectSettingsSerializer.h b/src/Authoring/Common/Code/Serialize/ProjectSettingsSerializer.h
index acfa4712..fd8f3f17 100644
--- a/src/Authoring/Common/Code/Serialize/ProjectSettingsSerializer.h
+++ b/src/Authoring/Common/Code/Serialize/ProjectSettingsSerializer.h
@@ -121,6 +121,9 @@ public:
bool thePreferKtx = theProjectSettings->getPreferCompressedTextures();
ar.Att("preferKtx", thePreferKtx);
+ bool theFlipCompressedTextures = theProjectSettings->getFlipCompressedTextures();
+ ar.Att("flipCompressedTextures", theFlipCompressedTextures);
+
if (QColorDialog::customCount() > 0) {
CustomColorSerializer ccs;
ar.Serialize(L"CustomColors", ccs);
@@ -161,6 +164,10 @@ public:
if (ar.Att("preferKtx", thePreferKtx))
theProjectSettings->setPreferCompressedTextures(thePreferKtx);
+ bool theFlipCompressedTextures;
+ if (ar.Att("flipCompressedTextures", theFlipCompressedTextures))
+ theProjectSettings->setFlipCompressedTextures(theFlipCompressedTextures);
+
{
CustomColorSerializer ccs;
ar.Serialize(L"CustomColors", ccs);