[Bf-blender-cvs] [bea5a9997d5] master: Cleanup: clang-format

Campbell Barton noreply at git.blender.org
Mon Dec 13 06:23:00 CET 2021


Commit: bea5a9997d5d8cc8d720b9f35c11579c4b096784
Author: Campbell Barton
Date:   Mon Dec 13 16:22:21 2021 +1100
Branches: master
https://developer.blender.org/rBbea5a9997d5d8cc8d720b9f35c11579c4b096784

Cleanup: clang-format

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

M	intern/cycles/device/metal/util.mm
M	source/blender/editors/space_node/node_templates.cc

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

diff --git a/intern/cycles/device/metal/util.mm b/intern/cycles/device/metal/util.mm
index 0a8b0ee6f10..763a37cb503 100644
--- a/intern/cycles/device/metal/util.mm
+++ b/intern/cycles/device/metal/util.mm
@@ -48,7 +48,7 @@ bool MetalInfo::device_version_check(id<MTLDevice> device)
   /* Metal Cycles doesn't work correctly on macOS versions older than 12.0 */
   if (@available(macos 12.0, *)) {
     MetalGPUVendor vendor = get_vendor_from_device_name([[device name] UTF8String]);
-    
+
     /* Metal Cycles works on Apple Silicon GPUs at present */
     return (vendor == METAL_GPU_APPLE);
   }
diff --git a/source/blender/editors/space_node/node_templates.cc b/source/blender/editors/space_node/node_templates.cc
index 6c517a7b17d..386178596af 100644
--- a/source/blender/editors/space_node/node_templates.cc
+++ b/source/blender/editors/space_node/node_templates.cc
@@ -447,7 +447,9 @@ static void ui_node_link(bContext *C, void *arg_p, void *event_p)
   ED_undo_push(C, "Node input modify");
 }
 
-static void ui_node_sock_name(const bNodeTree *ntree, bNodeSocket *sock, char name[UI_MAX_NAME_STR])
+static void ui_node_sock_name(const bNodeTree *ntree,
+                              bNodeSocket *sock,
+                              char name[UI_MAX_NAME_STR])
 {
   if (sock->link && sock->link->fromnode) {
     bNode *node = sock->link->fromnode;



More information about the Bf-blender-cvs mailing list