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
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-03-30 10:02:59 +0300
committerCampbell Barton <campbell@blender.org>2022-03-30 10:02:59 +0300
commit0f94c99ee70edbd306747bdad18c02d867ecd053 (patch)
treef2f61d5c2db727673bc9b57cd63567309d88ad81 /source/blender/editors/util
parenta8ec7845e0bdb9e63e9d3dbd7f4cd7caad36b5a2 (diff)
Cleanup: clang-format
Diffstat (limited to 'source/blender/editors/util')
-rw-r--r--source/blender/editors/util/ed_util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/util/ed_util.c b/source/blender/editors/util/ed_util.c
index f125482460c..f07364cd4d3 100644
--- a/source/blender/editors/util/ed_util.c
+++ b/source/blender/editors/util/ed_util.c
@@ -126,7 +126,8 @@ void ED_editors_init(bContext *C)
continue;
}
/* Object mode is enforced for non-editable data (or their obdata). */
- if (!BKE_id_is_editable(bmain, &ob->id) || (ob_data != NULL && !BKE_id_is_editable(bmain, ob_data))) {
+ if (!BKE_id_is_editable(bmain, &ob->id) ||
+ (ob_data != NULL && !BKE_id_is_editable(bmain, ob_data))) {
continue;
}