Cleanup: clang-format

This commit is contained in:
Brecht Van Lommel 2020-10-01 14:29:26 +02:00
parent 5d824c4212
commit 2caa6dd7f8
4 changed files with 11 additions and 12 deletions

View File

@ -40,7 +40,8 @@ ccl_device void kernel_shader_setup(KernelGlobals *kg,
kernel_split_state.queue_data,
kernel_split_params.queue_size,
0);
} else {
}
else {
ray_index = QUEUE_EMPTY_SLOT;
}

View File

@ -91,7 +91,7 @@ struct BVHTreeOverlap *BKE_bmbvh_overlap(const BMBVHTree *bmtree_a,
unsigned int *r_overlap_tot);
struct BVHTreeOverlap *BKE_bmbvh_overlap_self(const BMBVHTree *bmtree,
unsigned int *r_overlap_tot);
unsigned int *r_overlap_tot);
/** #BKE_bmbvh_new flag parameter. */
enum {

View File

@ -1307,7 +1307,6 @@ static void rna_def_trackingCamera(BlenderRNA *brna)
prop, "P2", "Second coefficient of second order Brown-Conrady tangential distortion");
RNA_def_property_update(prop, NC_MOVIECLIP | NA_EDITED, "rna_tracking_flushUpdate");
/* pixel aspect */
prop = RNA_def_property(srna, "pixel_aspect", PROP_FLOAT, PROP_XYZ);
RNA_def_property_float_sdna(prop, NULL, "pixel_aspect");

View File

@ -1718,15 +1718,14 @@ static PyObject *Matrix_adjugate(MatrixObject *self)
Py_RETURN_NONE;
}
PyDoc_STRVAR(
Matrix_adjugated_doc,
".. method:: adjugated()\n"
"\n"
" Return an adjugated copy of the matrix.\n"
"\n"
" :return: the adjugated matrix.\n"
" :rtype: :class:`Matrix`\n"
" :raises ValueError: if the matrix cannot be adjugated\n");
PyDoc_STRVAR(Matrix_adjugated_doc,
".. method:: adjugated()\n"
"\n"
" Return an adjugated copy of the matrix.\n"
"\n"
" :return: the adjugated matrix.\n"
" :rtype: :class:`Matrix`\n"
" :raises ValueError: if the matrix cannot be adjugated\n");
static PyObject *Matrix_adjugated(MatrixObject *self)
{
return matrix__apply_to_copy(Matrix_adjugate, self);