Files
test2/source/blender/editors
Julian Eisel 172e9c5b83 Fix #130583: Crash opening a file when asset shelf is set for non-paint modes
The region type isn't set yet when polling regions just after file read. As a
result, the polling state cannot be evaluated correctly, and `init()` may end
up being called without the previous required call to `on_poll_success()`.

Ensure the region type is set earlier, right at the beginning of screen
initialization after file read. This way all further area/region
referesh/re-init (confusingly called "init") logic can assume it's set.

Pull Request: https://projects.blender.org/blender/blender/pulls/131050
2024-12-03 16:57:38 +01:00
..
2024-05-02 16:11:03 +10:00
2024-10-16 19:05:48 +02:00
2024-11-25 13:24:46 +11:00
2024-12-03 16:11:31 +01:00