Blender Git Loki

Git Commits -> Revision c0900a6

Revision c0900a6 by Julian Eisel (master)
August 3, 2021, 10:25 (GMT)
Fix T90341: Crash opening 2.4 file with File Browser editor open

The file selection parameters (e.g. `context.space_data.params`) are
expected to be unset in certain cases. Reading 2.4 files seems to be one
of them. Hence, code using it should check it's set first. Also added an
assert to a File Browser UI template printing a message when the
parameters are unset, to help debugging the issue.

Commit Details:

Full Hash: c0900a64ceeaa46a1dfd1fa19d5b57449fb7788a
Parent Commit: b1a607c
Lines Changed: +8, -0

2 Modified Paths:

/release/scripts/startup/bl_ui/space_filebrowser.py (+5, -0) (Diff)
/source/blender/editors/space_file/file_draw.c (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021