mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Only set preferences variables affecting the production of snapshots
p4#: 22389
This commit is contained in:
@@ -114,12 +114,10 @@ void RiaPreferences::defineUiOrdering(QString uiConfigName, caf::PdmUiOrdering&
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiaPreferences::resetToDefaults()
|
||||
{
|
||||
std::vector<caf::PdmFieldHandle*> fields;
|
||||
this->fields(fields);
|
||||
useShaders = true;
|
||||
showHud = false;
|
||||
|
||||
for (size_t i = 0; i < fields.size(); ++i)
|
||||
{
|
||||
fields[i]->resetToDefaultValue();
|
||||
}
|
||||
autocomputeSOIL = true;
|
||||
autocomputeDepthRelatedProperties = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user