Blender Git Commit Log
Git Commits -> Revision 634b10a
Revision 634b10a by Julian Eisel (master) December 7, 2020, 13:35 (GMT) |
Fix missing type check for Outliner eyedropper query Mistake in 35a5dee2ef73. Code would simply assume that the element under the cursor is an Object if it was an ID (but not a collection). This wouldn't cause any issues in current code, since the only other ID that set the direct-data were collections, which are special in that they don't have a `TreeStoreElem.type` of 0, which is already being checked for here. And if there was no direct-data set, the object lookup in the View-Layer would correctly fail too. |
Commit Details:
Full Hash: 634b10acbb6962f9901f0ad610d12b24f7d76c06
Parent Commit: 95734e3
Lines Changed: +1, -1
1 Modified Path:
/source/blender/editors/space_outliner/outliner_utils.c (+1, -1) (Diff)