diff options
author | Julian Eisel <julian@blender.org> | 2020-12-07 16:14:31 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-12-07 16:35:54 +0300 |
commit | 634b10acbb6962f9901f0ad610d12b24f7d76c06 (patch) | |
tree | 2fca26a010991ca45173d0b0ff9a51a6f19b9c36 /source/blender/editors/space_outliner/outliner_intern.h | |
parent | 95734e32bfb9d4309e05a69e41aa1b1676d42447 (diff) |
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.
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_intern.h')
0 files changed, 0 insertions, 0 deletions