diff --git a/indra/newview/llfloatercamera.cpp b/indra/newview/llfloatercamera.cpp index e35acf1dd2..7d6f820568 100644 --- a/indra/newview/llfloatercamera.cpp +++ b/indra/newview/llfloatercamera.cpp @@ -726,7 +726,14 @@ void LLFloaterCamera::onSavePreset() LLFloaterReg::hideInstance("delete_pref_preset", PRESETS_CAMERA); LLFloaterReg::hideInstance("load_pref_preset", PRESETS_CAMERA); - LLFloaterReg::showInstance("save_camera_preset"); + // Preselect correct radio button on save camera presets floater + //LLFloaterReg::showInstance("save_camera_preset"); + LLSD key; + std::string current_preset = gSavedSettings.getString("PresetCameraActive"); + bool is_custom_preset = current_preset != "" && !LLPresetsManager::getInstance()->isDefaultCameraPreset(current_preset); + key["index"] = is_custom_preset ? 1 : 0; + LLFloaterReg::showInstance("save_camera_preset", key); + // } void LLFloaterCamera::onCustomPresetSelected() diff --git a/indra/newview/skins/ansastorm/xui/de/floater_camera.xml b/indra/newview/skins/ansastorm/xui/de/floater_camera.xml index 5df5893841..78987abf10 100644 --- a/indra/newview/skins/ansastorm/xui/de/floater_camera.xml +++ b/indra/newview/skins/ansastorm/xui/de/floater_camera.xml @@ -53,5 +53,6 @@ +