Skip to content
Snippets Groups Projects
Commit 40394752 authored by Mnikolenko Productengine's avatar Mnikolenko Productengine
Browse files

SL-12991 [Camera Presets] Sort all Camera preset lists in the same way

parent 3bac0d42
No related branches found
No related tags found
No related merge requests found
...@@ -206,12 +206,15 @@ void LLPresetsManager::loadPresetNamesFromDir(const std::string& subdirectory, p ...@@ -206,12 +206,15 @@ void LLPresetsManager::loadPresetNamesFromDir(const std::string& subdirectory, p
} }
} }
if (IS_CAMERA && (default_option == DEFAULT_BOTTOM)) if (IS_CAMERA)
{ {
mPresetNames.sort(); mPresetNames.sort();
mPresetNames.push_back(PRESETS_FRONT_VIEW); if (default_option == DEFAULT_BOTTOM)
mPresetNames.push_back(PRESETS_REAR_VIEW); {
mPresetNames.push_back(PRESETS_SIDE_VIEW); mPresetNames.push_back(PRESETS_FRONT_VIEW);
mPresetNames.push_back(PRESETS_REAR_VIEW);
mPresetNames.push_back(PRESETS_SIDE_VIEW);
}
} }
presets = mPresetNames; presets = mPresetNames;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment