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
path: root/source
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2021-03-09 18:34:43 +0300
committerJeroen Bakker <jeroen@blender.org>2021-03-09 18:34:43 +0300
commit077beb738c931037eae40ce54a43aa8dc87e01a3 (patch)
tree76d8c7bbf30ad9a8ec82be0552e2f536728d20df /source
parent0700441578c9bb4d3f45d59183f26d3293499113 (diff)
Cleanup: use nullptr in cpp.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_outliner/tree/tree_element_id.cc2
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,