Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2019-11-20 06:29:28 +0300
committerDalai Felinto <dfelinto@gmail.com>2019-11-20 06:29:28 +0300
commitbc66810064f369c37d9afeb948df7f616893490a (patch)
tree52cb5a6b69214ca9403160248a65fdb071158c95
parent9ca2cbdcea6a8e46a07348ae35cdecfb0637eb9f (diff)
Outliner: Fix crash for tooltips on ID operations
This was introduced on 9ca2cbdcea6a.
-rw-r--r--source/blender/editors/space_outliner/outliner_tools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c
index d6509986249..339ce4e2573 100644
--- a/source/blender/editors/space_outliner/outliner_tools.c
+++ b/source/blender/editors/space_outliner/outliner_tools.c
@@ -1539,7 +1539,7 @@ static bool outliner_id_operation_item_poll(bContext *C,
case OUTLINER_IDOP_OVERRIDE_LIBRARY:
return BKE_override_library_is_enabled();
case OUTLINER_IDOP_SINGLE:
- if (ELEM(soops->outlinevis, SO_SCENES, SO_VIEW_LAYER)) {
+ if (soops && ELEM(soops->outlinevis, SO_SCENES, SO_VIEW_LAYER)) {
return true;
}
/* TODO (dalai): enable in the few cases where this can be supported