Files
test/source
Philipp Oeser 7acdef1bd1 Fix #129241: AssetBrowser "display mode" Reset Default sets wrong mode
The Asset Browser (as opposed to other Filebrowser) is restricted to
either FILE_HORIZONTALDISPLAY / FILE_IMGDISPLAY, as noted in https://
projects.blender.org/blender/blender/issues/103563#issuecomment-82835
the UI isnt polished enough for FILE_VERTICALDISPLAY it seems. However,
resetting to default would leave us with exactly that.

To resolve, control the default dynamically via an
`RNA_def_property_enum_default_func` (and set it to FILE_IMGDISPLAY for
the Asset Browser).

Pull Request: https://projects.blender.org/blender/blender/pulls/144917
2025-08-22 20:04:06 +02:00
..