diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-04 00:41:03 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-04 00:41:03 +0300 |
commit | 1ec7f75b2a045c176218c694ae24e018f0802dbe (patch) | |
tree | c8529f82c63a85962e04f4c73eb095e52bc6e908 /source | |
parent | cc1daa9b766debbd79c1e6246f73a324039fc244 (diff) |
Cleanup: format
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/mesh_tessellate.cc | 3 | ||||
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 3 | ||||
-rw-r--r-- | source/blender/editors/space_image/image_buttons.c | 3 |
3 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/mesh_tessellate.cc b/source/blender/blenkernel/intern/mesh_tessellate.cc index ab0aeb88ebc..de4c60b28db 100644 --- a/source/blender/blenkernel/intern/mesh_tessellate.cc +++ b/source/blender/blenkernel/intern/mesh_tessellate.cc @@ -282,7 +282,8 @@ static void mesh_recalc_looptri__multi_threaded(const MLoop *mloop, { struct TessellationUserTLS tls_data_dummy = {nullptr}; - struct TessellationUserData data {}; + struct TessellationUserData data { + }; data.mloop = mloop; data.mpoly = mpoly; data.mvert = mvert; diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 6fad67eb217..b880f0513b8 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -359,8 +359,7 @@ static void oldnewmap_insert(OldNewMap *onm, const void *oldaddr, void *newaddr, oldnewmap_insert_or_replace(onm, entry); } -static void oldnewmap_lib_insert( - FileData *fd, const void *oldaddr, ID *newaddr, int nr) +static void oldnewmap_lib_insert(FileData *fd, const void *oldaddr, ID *newaddr, int nr) { oldnewmap_insert(fd->libmap, oldaddr, newaddr, nr); } diff --git a/source/blender/editors/space_image/image_buttons.c b/source/blender/editors/space_image/image_buttons.c index baaa521fc94..48f43e05315 100644 --- a/source/blender/editors/space_image/image_buttons.c +++ b/source/blender/editors/space_image/image_buttons.c @@ -1213,8 +1213,7 @@ void uiTemplateImageInfo(uiLayout *layout, bContext *C, Image *ima, ImageUser *i eGPUTextureFormat texture_format = IMB_gpu_get_texture_format(ibuf, ima->flag & IMA_HIGH_BITDEPTH); - const char *texture_format_description = GPU_texture_format_description( - texture_format); + const char *texture_format_description = GPU_texture_format_description(texture_format); ofs += BLI_snprintf_rlen(str + ofs, len - ofs, TIP_(", %s"), texture_format_description); uiItemL(col, str, ICON_NONE); |