Gui: Properly reset light directions
This fixes lights not getting reset after user demands so.
This commit is contained in:
committed by
Chris Hennes
parent
01ce34e3c7
commit
09b6389c8e
@@ -327,6 +327,10 @@ void DlgSettingsLightSources::resetSettingsToDefaults()
|
||||
{
|
||||
PreferencePage::resetSettingsToDefaults();
|
||||
|
||||
hGrp->RemoveASCII("HeadlightDirection");
|
||||
hGrp->RemoveASCII("BacklightDirection");
|
||||
hGrp->RemoveASCII("FillLightDirection");
|
||||
|
||||
loadSettings();
|
||||
configureViewer();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user