Blender Git Loki
Git Commits -> Revision 28d581a
Revision 28d581a by Philipp Oeser (blender-v2.93-release) November 2, 2021, 12:10 (GMT) |
Fix T91411: Outliner crash using contextmenu operators from a shortcut Oversight in {rBb0741e1dcbc5}. This was guarded by an assert in `get_target_element`, but it can be valid to have these assigned to a shortcut (and then perform the action without an active outliner element). Now remove the assert and let the operator polls check if we really have a target element. note: this basically makes `get_target_element` obsolete, could call `outliner_find_element_with_flag` instead in all cases. Maniphest Tasks: T91411 Differential Revision: https://developer.blender.org/D12495 |
Commit Details:
Full Hash: 28d581af928fcfd26f8f8e49d953348a6570d456
Parent Commit: 7d2b6a2
Lines Changed: +22, -23
1 Modified Path:
/source/blender/editors/space_outliner/outliner_tools.c (+22, -23) (Diff)