Commit f30f7202 authored by NICLAUSSE Nicolas's avatar NICLAUSSE Nicolas

fix default values of settings (done in restoreSettings)

parent 25e33f01
......@@ -55,7 +55,7 @@ public:
QList<QWidget *> inspectors;
public:
bool default_visibility = false;
bool default_visibility;
public:
QCheckBox *show_actor_cb = nullptr;
......
......@@ -403,7 +403,6 @@ void dtkVisualizationDecoratorWithClut::setCurrentRange(double min, double max)
return;
}
QString field_name = d->current_field_name.isEmpty() ? d->default_field_name : d->current_field_name;
qDebug() << Q_FUNC_INFO << field_name;
auto&& range = d->ranges[field_name];
range[0] = min;
range[1] = max;
......
......@@ -76,8 +76,8 @@ public:
QString current_field_name;
QString default_field_name;
QString default_color_map;
bool default_visibility = true;
bool default_show_scalar_bar = false;
bool default_visibility;
bool default_show_scalar_bar;
public:
vtkSmartPointer<vtkColorTransferFunction> color_function;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment