filedialogs - context menus - update check - bug fixes and QOL
This release brings new file dialogs, an update check, bug fixes and QOL stuff. (Mostly refactoring of the gui system)
Visit https://github.com/xoxor4d/iw3xo-radiant/wiki/Changelog for the latest changelog in case I missed something here.
General
- iw3xradiant now checks for newer releases upon starting and will display a message within the menubar (instead of About) with links to the latest changelog, the github release and a direct download link
- fixed a bug that let the mouse stay invisible when using Alt + Tab whilst moving the camera
- removed default binding for the ToggleZ and ToggleCamera hotkeys
- dragging models from the model previewer into the scene now automatically calls the model planting function
- entity property editor: added a dropdown menu button next to the add new key-value-pair button with kvp templates
- radiant can now load xmodels with more then [32704] indices (now uses the same limit as iw3 [1048576])
- added dvar parse_debug to print entity and brush info while parsing a map file (off by default) to aid with parsing errors (can be toggled within preferences > developer)
- added a filter for fx_origins called FX to other filters
Gui
- refactored alot of the underlying gui code
- all file dialogs are now done using a heavily modified version of Limeoats file dialog for Dear ImGui (https://github.com/Limeoats/L2DFileDialog)
- added an option to use the original file dialogs (preferences > gui)
- the empty entity that would normally stay when canceling the file dialogs to spawn misc_models / misc_prefabs will now be deleted automatically
- selecting models in the file dialog to spawn misc_models now previews them in the model previewer (if it is open)
- text-log within the console can now be highlighted and copied (per line only)
- removed option to render either the grid or the camera window as mainframe backgrounds
- removed the floating toolbar option
- added command "center_camera_on_selection" with default hotkey "END" (hotkey to center the camera was changed to "CTRL + END")
Gui - Grid Context Menu
- sub-group entities within the create entity list (similar to how og. radiant did it)
- fixed a bug that let both the old and the new context menu appear at the same time
- added ungroup entity option
- slight visual tweaks