From 077beb738c931037eae40ce54a43aa8dc87e01a3 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Tue, 9 Mar 2021 16:34:43 +0100 Subject: Cleanup: use nullptr in cpp. --- source/blender/editors/space_outliner/tree/tree_element_id.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') 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, -- cgit v1.2.3