summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatercamera.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2020-01-08 18:14:21 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2020-01-08 18:14:21 +0200
commita2f0fd64e947f96305200edbdfd496529cadb90e (patch)
tree99871bfa58d575b6e66667edad9875570bb0c504 /indra/newview/llfloatercamera.cpp
parentabd5277a7b3dac90e8a555eefe855cfcca1536dc (diff)
SL-12510 Revert changes and separate 'Save Graphic Preset' floater
Diffstat (limited to 'indra/newview/llfloatercamera.cpp')
-rw-r--r--indra/newview/llfloatercamera.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llfloatercamera.cpp b/indra/newview/llfloatercamera.cpp
index f45033aa20..860005bfbe 100644
--- a/indra/newview/llfloatercamera.cpp
+++ b/indra/newview/llfloatercamera.cpp
@@ -610,11 +610,10 @@ void LLFloaterCamera::onSavePreset()
LLFloaterReg::hideInstance("load_pref_preset", PRESETS_CAMERA);
LLSD key;
- key["subdirectory"] = PRESETS_CAMERA;
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_pref_preset", key);
+ LLFloaterReg::showInstance("save_camera_preset", key);
}
void LLFloaterCamera::onCustomPresetSelected()