private void setUIFromSettings() { skipDefaultCheck.setChecked(settings.skipDefaultValues); minimalOutputCheck.setChecked(settings.useMinimalOutputType); packageSeparateAtlasForEachSceneCheck.setChecked(settings.packageSeparateAtlasForEachScene); migFilterSelectBox.setSelectedEnum(settings.migTextureFilter); magFilterSelectBox.setSelectedEnum(settings.magTextureFilter); }
private void setToSettings() { settings.skipDefaultValues = skipDefaultCheck.isChecked(); settings.useMinimalOutputType = minimalOutputCheck.isChecked(); settings.packageSeparateAtlasForEachScene = packageSeparateAtlasForEachSceneCheck.isChecked(); settings.migTextureFilter = migFilterSelectBox.getSelectedEnum(); settings.magTextureFilter = magFilterSelectBox.getSelectedEnum(); settingsIO.save(settings, DefaultExporter.SETTINGS_FILE_NAME); }