summaryrefslogtreecommitdiffstats
path: root/editor/surface_upgrade_tool.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Scene] Add `SceneStringNames::confirmed`A Thousand Ships2024-06-191-1/+1
|
* Use Core/Scene stringnames consistentlykobewi2024-05-131-1/+0
|
* Reorganize code related to editor themingYuri Sizov2024-01-161-1/+1
| | | | | | | | | | | | | This change introduces a new EditorThemeManager class to abstract theme generatio and its subroutines. Logic related to EditorTheme, EditorColorMap, and editor icons has been extracted into their respective files with includes cleaned up. All related files have been moved to a separate folder to better scope them in the project. This includes relevant generated files as well.
* Update deferred calls to use Callableskobewi2024-01-091-1/+1
|
* Suppress surface upgrade warnings when showing SurfaceUpgradeTool warningclayjohn2023-11-221-3/+7
| | | | Also ensure the EditorProgress dialogue shows correct numbers
* Rework the surface upgrade tool to inform users without blockingYuri Sizov2023-11-221-22/+31
| | | | | | | | | | | | | This removes the immediate confirmation dialog and insteads prints the message to the editor log (and it also appears as a toast). The immediate dialog is a devil's plaything, and it cannot be used in this scenario (if it can be used anywhere at all). The condition that triggers the SUT can happen during any attempt by the rendering server to read a mesh. This means it will conflict with a number of editor processes, like loading, importing, preview generation, export, CLI mode, etc. So while this is less on the nose as far as informing users goes, it's also our best option to use the log and the toaster.
* Prevent the surface upgrade tool from running during exportYuri Sizov2023-11-201-12/+37
| | | | | Also add an explicit way to trigger the tool manually at user's will.
* Abort threaded preview generators on exitYuri Sizov2023-11-101-1/+2
|
* Overhaul the SurfaceUpgradeToolclayjohn2023-11-011-24/+97
| | | | | | | | This defers the update to a fresh restart of the editor (to ensure we aren't mid way through loading scenes anymore. It also ensures that the popup can't be used by multiple threads at once Co-authored-by: Yuri Sizov <yuris@humnom.net>
* Implementation of tool to automatically upgrade and re-save meshesclayjohn2023-10-231-0/+90