In the situation that the viewport was set to solid/texture mode and switch to wireframe and sculpt mode, an assert was triggered in `workbench_cache_sculpt_populate`.
In the situation that the viewport was set to solid/texture mode and switch to wireframe and sculpt mode, an assert was triggered in `workbench_cache_sculpt_populate`.