void FEditorModeTools::SaveConfig(void) { GConfig->SetBool(TEXT("FEditorModeTools"), TEXT("ShowWidget"), bShowWidget, GEditorPerProjectIni); const bool bGetRawValue = true; GConfig->SetInt(TEXT("FEditorModeTools"), TEXT("CoordSystem"), (int32)GetCoordSystem(bGetRawValue), GEditorPerProjectIni); SaveWidgetSettings(); }
/** * Saves the current state to the INI file */ void FEditorModeTools::SaveConfig(void) { GConfig->SetBool(TEXT("FEditorModeTools"),TEXT("ShowWidget"),bShowWidget, GEditorUserSettingsIni); const bool bGetRawValue = true; GConfig->SetInt(TEXT("FEditorModeTools"),TEXT("CoordSystem"),(int32)GetCoordSystem(bGetRawValue), GEditorUserSettingsIni); GConfig->SetBool( TEXT("UnEdViewport"), TEXT("InterpEdPanInvert"), bInterpPanInverted, GEditorUserSettingsIni ); SaveWidgetSettings(); }