diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-09-11 12:50:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-09-11 13:04:34 +0300 |
commit | d96b141666c17ab2aaba750286b3affc9bef0288 (patch) | |
tree | a0db1dfb21d4de3383339422257605c82932ce4e /source/blender/blenloader | |
parent | c27d00cde08ab32718af326f6b72ccfdf3ef073a (diff) |
Fix T79464: Crash adding objects without an active screen
Running add-objects operator without an active screen would crash
as CTX_data_edit_object would return NULL in this case.
This could happen when adding objects from frame-change handlers for e.g.
In the case of adding new objects there is no need for a context lookup,
pass this directly to ED_object_editmode_exit_ex.
Diffstat (limited to 'source/blender/blenloader')
0 files changed, 0 insertions, 0 deletions