diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-03-09 18:34:43 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-03-09 18:34:43 +0300 |
commit | 077beb738c931037eae40ce54a43aa8dc87e01a3 (patch) | |
tree | 76d8c7bbf30ad9a8ec82be0552e2f536728d20df | |
parent | 0700441578c9bb4d3f45d59183f26d3293499113 (diff) |
Cleanup: use nullptr in cpp.
-rw-r--r-- | source/blender/editors/space_outliner/tree/tree_element_id.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/tree/tree_element_id.cc b/source/blender/editors/space_outliner/tree/tree_element_id.cc index 31dfed35d8a..823a7644f38 100644 --- a/source/blender/editors/space_outliner/tree/tree_element_id.cc +++ b/source/blender/editors/space_outliner/tree/tree_element_id.cc @@ -152,7 +152,7 @@ void TreeElementID::postExpand(SpaceOutliner &space_outliner) const bool TreeElementID::expandPoll(const SpaceOutliner &space_outliner) const { const TreeStoreElem *tsepar = legacy_te_.parent ? TREESTORE(legacy_te_.parent) : nullptr; - return (tsepar == NULL || tsepar->type != TSE_ID_BASE || space_outliner.filter_id_type); + return (tsepar == nullptr || tsepar->type != TSE_ID_BASE || space_outliner.filter_id_type); } void TreeElementID::expand_animation_data(SpaceOutliner &space_outliner, |