#jira UE-79195
#rb jimmy.andrews
#rn Add an fbx option to allow compute normals to use weight by area and angle for both staticmesh and skeletalmesh. Add also a staticmesh build options for the feature.
[CL 8364158 by Alexis Matte in Dev-Editor branch]
Enhacement JIRA UETOOL-1721: Introduced the capability to load/save/remove Editor UI Layouts, so that the user can customize the Editor and save/share it accross machines or people.
Additional enhancements: Re-loading a layout no longer requires the whole editor to restart. Instead, only the tabs are closed and re-populated (only creating a small "flash" in the editor rather than restarting it).
Previous Editor bugs fixed:
- Bug 1: AssetEditorToolkit.cpp::FAssetEditorToolkit::RestoreFromLayout was wrongly saving the layout in GEditorIni rather than GEditorLayoutIni.
- Bug 2: When the layout is saved, the instance ID of the custom toolkits was being saved as well. Given that this number keep increasing after each custom tab is created (no matter if the previous ones were already closed), the editor will keep thinking that the loaded layout is no longer the currrent layout. Fix in TabManager.h::FTabId::ToString().
- Bug 3: FLayoutSaveRestore::SaveToConfig was taking as input argument FString rather than const FString&.
#rb rex.hill, chris.gagnon
[CL 8129300 by Gines Hidalgo in Dev-Editor branch]
1. When we changed the default resolution (Edit --> Editor Preferences --> Play ? Common Resolutions), the orientation (landscape or portrait) was reverted back to the original value for that default resolution (i.e., landscape for TVs, monitors, and laptops; and portrait for phones and tables). Fixed, it will now maintain the last orientation used. E.g., this allows to change multiple times from different phone/tablets devices in landscape mode without having to manually re-set the orientation.
2. Widget Blueprint --> Switch between Landscape and Portrait presents analog behaviour. In this part, the bug was fixed by forcing TVs, monitors, and laptops to have only landscape orientation. However, we might want them to be portrait (especially TVs or monitors). Thus, the code has been modified to present the exact same behavior than Edit --> Editor Preferences --> Play.
3. In addition, there was a bug in Widget Blueprint --> Switch between Landscape and Portrait. When the orientation was clicked right after opening the program (i.e., using the default values, before selecting a Screen Size), the screen would disappear and show a new resolution of 0x0. Bug fixed.
4. Additionally added some missing ôconstö keywords to some arguments in SDesignerView.h, SDesignerView.cpp, and LevelEditorPlaySettingsCustomization.h.
#rb lauren.ridge
#codereview chris.gagnon,lauren.ridge
[CL 6893757 by Gines Hidalgo in Dev-Editor branch]
#rb chris.babcock
#ROBOMERGE-SOURCE: CL 5691837 via CL 5691859 via CL 5691860 via CL 5691861 via CL 5695894
[CL 5695942 by peter sauerbrei in Main branch]