Skip to content

Commit

Permalink
Hide Disentangled options for 6.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
akenmorris committed Feb 7, 2024
1 parent 077c588 commit 76aa31c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion Studio/Optimize/OptimizeTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ OptimizeTool::OptimizeTool(Preferences& prefs, Telemetry& telemetry) : preferenc
"It has no effect on the optimization");
ui_->use_disentangled_ssm->setToolTip("Use disentangled Optimization technique to build spatiotemporal SSM.");

// hidden for 6.5 release
ui_->disentangled_label->hide();
ui_->disentangled_widget->hide();

QIntValidator* above_zero = new QIntValidator(1, std::numeric_limits<int>::max(), this);
QIntValidator* zero_and_up = new QIntValidator(0, std::numeric_limits<int>::max(), this);

Expand Down Expand Up @@ -147,7 +151,6 @@ void OptimizeTool::handle_optimize_complete() {
telemetry_.record_event("optimize", {{"duration_seconds", duration},
{"num_particles", QVariant::fromValue(session_->get_num_particles())}});


session_->trigger_save();

Q_EMIT optimize_complete();
Expand Down
6 changes: 3 additions & 3 deletions Studio/Optimize/OptimizeTool.ui
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>500</width>
<height>800</height>
<height>831</height>
</rect>
</property>
<property name="windowTitle">
Expand Down Expand Up @@ -300,7 +300,7 @@ QWidget#optimize_panel {
</widget>
</item>
<item row="21" column="0">
<widget class="QLabel" name="label_18">
<widget class="QLabel" name="disentangled_label">
<property name="text">
<string>Disentangled Spatiotemporal SSM</string>
</property>
Expand Down Expand Up @@ -768,7 +768,7 @@ QWidget#optimize_panel {
</widget>
</item>
<item row="21" column="2">
<widget class="QWidget" name="widget_18" native="true">
<widget class="QWidget" name="disentangled_widget" native="true">
<layout class="QGridLayout" name="gridLayout_18">
<property name="leftMargin">
<number>0</number>
Expand Down

0 comments on commit 76aa31c

Please sign in to comment.