Commit: 12a1fa9cf4c544de8449cd563ce16b22eddba0b1
Author: Campbell Barton
Date:   Fri May 6 18:27:44 2022 +1000
Branches: master
https://developer.blender.org/rB12a1fa9cf4c544de8449cd563ce16b22eddba0b1

Cleanup: format

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

M       intern/cycles/device/optix/device_impl.cpp
M       source/blender/python/bmesh/bmesh_py_types.c

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

diff --git a/intern/cycles/device/optix/device_impl.cpp 
b/intern/cycles/device/optix/device_impl.cpp
index 6329144131e..9fc265bc327 100644
--- a/intern/cycles/device/optix/device_impl.cpp
+++ b/intern/cycles/device/optix/device_impl.cpp
@@ -226,7 +226,8 @@ static void execute_optix_task(TaskPool &pool, OptixTask 
task, OptixResult &fail
   const OptixResult result = optixTaskExecute(task, additional_tasks, 16, 
&num_additional_tasks);
   if (result == OPTIX_SUCCESS) {
     for (unsigned int i = 0; i < num_additional_tasks; ++i) {
-      pool.push(function_bind(&execute_optix_task, std::ref(pool), 
additional_tasks[i], std::ref(failure_reason)));
+      pool.push(function_bind(
+          &execute_optix_task, std::ref(pool), additional_tasks[i], 
std::ref(failure_reason)));
     }
   }
   else {
diff --git a/source/blender/python/bmesh/bmesh_py_types.c 
b/source/blender/python/bmesh/bmesh_py_types.c
index 64cd59ea635..972a782d650 100644
--- a/source/blender/python/bmesh/bmesh_py_types.c
+++ b/source/blender/python/bmesh/bmesh_py_types.c
@@ -1259,14 +1259,15 @@ static PyObject *bpy_bmesh_select_flush(BPy_BMesh 
*self, PyObject *value)
   Py_RETURN_NONE;
 }
 
-PyDoc_STRVAR(bpy_bmesh_normal_update_doc,
-             ".. method:: normal_update()\n"
-             "\n"
-             "   Update normals of mesh faces and verts.\n"
-             "\n"
-             "   .. note::\n"
-             "\n"
-             "      The normal of any vertex where :attr:`is_wire` is True 
will be a zero vector.\n");
+PyDoc_STRVAR(
+    bpy_bmesh_normal_update_doc,
+    ".. method:: normal_update()\n"
+    "\n"
+    "   Update normals of mesh faces and verts.\n"
+    "\n"
+    "   .. note::\n"
+    "\n"
+    "      The normal of any vertex where :attr:`is_wire` is True will be a 
zero vector.\n");
 
 static PyObject *bpy_bmesh_normal_update(BPy_BMesh *self)
 {
@@ -1783,14 +1784,15 @@ static PyObject *bpy_bmedge_other_vert(BPy_BMEdge 
*self, BPy_BMVert *value)
   Py_RETURN_NONE;
 }
 
-PyDoc_STRVAR(bpy_bmedge_normal_update_doc,
-             ".. method:: normal_update()\n"
-             "\n"
-             "   Update normals of all connected faces and the edge verts.\n"
-             "\n"
-             "   .. note::\n"
-             "\n"
-             "      The normal of edge vertex will be a zero vector if vertex 
:attr:`is_wire` is True.\n");
+PyDoc_STRVAR(
+    bpy_bmedge_normal_update_doc,
+    ".. method:: normal_update()\n"
+    "\n"
+    "   Update normals of all connected faces and the edge verts.\n"
+    "\n"
+    "   .. note::\n"
+    "\n"
+    "      The normal of edge vertex will be a zero vector if vertex 
:attr:`is_wire` is True.\n");
 static PyObject *bpy_bmedge_normal_update(BPy_BMEdge *self)
 {
   BPY_BM_CHECK_OBJ(self);

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

Reply via email to