Skip to content

Commit 858b5f3

Browse files
committed
Experimental Options, UI updates
1 parent 849d46a commit 858b5f3

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

include/common_version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
#define COMMON_MAJOR 2023
66
#define COMMON_MINOR 1
77
#define COMMON_REV 1
8-
#define COMMON_BUILD 55
8+
#define COMMON_BUILD 56
99

1010
#define COMMON_VERSION DZ_MAKE_VERSION( COMMON_MAJOR, COMMON_MINOR, COMMON_REV, COMMON_BUILD )

src/DzBridgeDialog.cpp

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,13 @@ To find out more about Daz Bridges, go to <a href=\"https://www.daz3d.com/daz-br
131131
experimentalAnimationExportCheckBox = new QCheckBox("", animationSettingsGroupBox);
132132
experimentalAnimationExportCheckBox->setChecked(true);
133133
animationSettingsLayout->addRow("Use New Export", experimentalAnimationExportCheckBox);
134+
135+
// DB 2023-Aug-09: bake animation does not appear to be hooked up to anything, disabling for now
134136
bakeAnimationExportCheckBox = new QCheckBox("", animationSettingsGroupBox);
135-
animationSettingsLayout->addRow("Bake", bakeAnimationExportCheckBox);
137+
// animationSettingsLayout->addRow("Bake", bakeAnimationExportCheckBox);
138+
bakeAnimationExportCheckBox->setVisible(false);
139+
bakeAnimationExportCheckBox->setDisabled(true);
140+
136141
faceAnimationExportCheckBox = new QCheckBox("", animationSettingsGroupBox);
137142
animationSettingsLayout->addRow("Transfer Face Bones", faceAnimationExportCheckBox);
138143
animationExportActiveCurvesCheckBox = new QCheckBox("", animationSettingsGroupBox);
@@ -142,7 +147,8 @@ To find out more about Daz Bridges, go to <a href=\"https://www.daz3d.com/daz-br
142147
animationSettingsGroupBox->setVisible(false);
143148

144149
// Animation Help Text
145-
const char* AnimationExportHelpText = "New custom animation export pathway which may produce better animations. Does not export the mesh.";
150+
const char* AnimationExportHelpText = "New custom animation export pathway which can produce\n\
151+
better quality. **DOES NOT EXPORT MESH**";
146152
experimentalAnimationExportCheckBox->setWhatsThis(tr(AnimationExportHelpText));
147153
experimentalAnimationExportCheckBox->setToolTip(tr(AnimationExportHelpText));
148154
const char* BakeAnimationHelpText ="Bake complex animations to their base componenents.";
@@ -840,9 +846,14 @@ void DzBridgeDialog::HandleExperimentalOptionsCheckBoxClicked()
840846
}
841847
}
842848

843-
int state = m_enableExperimentalOptionsCheckBox->checkState();
849+
// int state = m_enableExperimentalOptionsCheckBox->checkState();
850+
// if (settings == nullptr || m_bDontSaveSettings) return;
851+
// settings->setValue("EnableExperimentalOptions", state == Qt::Checked);
852+
853+
// Intentionally saving as unchecked to force users to "opt-in" every time they use experimental features
844854
if (settings == nullptr || m_bDontSaveSettings) return;
845-
settings->setValue("EnableExperimentalOptions", state == Qt::Checked);
855+
settings->setValue("EnableExperimentalOptions", false);
856+
846857
}
847858

848859
#include "moc_DzBridgeDialog.cpp"

0 commit comments

Comments
 (0)