diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-19 08:47:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-19 08:47:03 +0300 |
commit | 1f5d51e44ecf99f34d8e733559a9312e5ae3ef33 (patch) | |
tree | f8a2465eac96414a4bfe1da812aed48c8e284cb8 /source/blender/editors/space_outliner | |
parent | 5b45d32f3a4dfaa5f65e7ba59311863bf37c08da (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_ops.c | 3 | ||||
-rw-r--r-- | source/blender/editors/space_outliner/outliner_tree.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/space_outliner/outliner_ops.c b/source/blender/editors/space_outliner/outliner_ops.c index ba501ac7db5..543a0b0f8d7 100644 --- a/source/blender/editors/space_outliner/outliner_ops.c +++ b/source/blender/editors/space_outliner/outliner_ops.c @@ -288,7 +288,8 @@ static int outliner_item_drag_drop_modal(bContext *C, wmOperator *op, const wmEv * It will fail when there is no next/prev TreeElement, or when the * element is an Override or something else in the future. */ -static bool tree_element_is_collection_get(const TreeElement *te) { +static bool tree_element_is_collection_get(const TreeElement *te) +{ if (te == NULL) { return false; } diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c index eff726868c7..d418c571a8d 100644 --- a/source/blender/editors/space_outliner/outliner_tree.c +++ b/source/blender/editors/space_outliner/outliner_tree.c @@ -2066,7 +2066,7 @@ static bool outliner_element_visible_get(ViewLayer *view_layer, TreeElement *te, } } else if (te->parent != NULL && - TREESTORE(te->parent)->type == 0 && te->parent->idcode == ID_OB) + TREESTORE(te->parent)->type == 0 && te->parent->idcode == ID_OB) { if (exclude_filter & SO_FILTER_NO_OB_CONTENT) { return false; |