Commit: e785569c95f94ab4df99537b52afa8f14affd181
Author: Campbell Barton
Date:   Mon Jul 5 19:09:24 2021 +1000
Branches: master
https://developer.blender.org/rBe785569c95f94ab4df99537b52afa8f14affd181

Cleanup: clang-tidy

===================================================================

M       source/blender/editors/space_spreadsheet/spreadsheet_context.cc

===================================================================

diff --git a/source/blender/editors/space_spreadsheet/spreadsheet_context.cc 
b/source/blender/editors/space_spreadsheet/spreadsheet_context.cc
index 93d7c6d9804..1ac2075e281 100644
--- a/source/blender/editors/space_spreadsheet/spreadsheet_context.cc
+++ b/source/blender/editors/space_spreadsheet/spreadsheet_context.cc
@@ -569,7 +569,7 @@ bool ED_spreadsheet_context_path_exists(Main 
*UNUSED(bmain), SpaceSpreadsheet *s
       }
       return false;
     }
-    else if (node->id != nullptr) {
+    if (node->id != nullptr) {
       if (GS(node->id->name) != ID_NT) {
         return false;
       }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to