[Bf-blender-cvs] [077beb738c9] master: Cleanup: use nullptr in cpp.
Jeroen Bakker
noreply at git.blender.org
Tue Mar 9 16:34:58 CET 2021
Commit: 077beb738c931037eae40ce54a43aa8dc87e01a3
Author: Jeroen Bakker
Date: Tue Mar 9 16:34:43 2021 +0100
Branches: master
https://developer.blender.org/rB077beb738c931037eae40ce54a43aa8dc87e01a3
Cleanup: use nullptr in cpp.
===================================================================
M source/blender/editors/space_outliner/tree/tree_element_id.cc
===================================================================
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,
More information about the Bf-blender-cvs
mailing list