Cleanup: spelling
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
/** \file
|
||||
* \ingroup pybmesh
|
||||
*
|
||||
* This file defines customdata types which can't be accessed as primitive
|
||||
* python types such as MDeformVert, MLoopUV, MTexPoly
|
||||
* This file defines custom-data types which can't be accessed as primitive
|
||||
* python types such as #MDeformVert, #MLoopUV.
|
||||
*/
|
||||
|
||||
#include <Python.h>
|
||||
@@ -515,8 +515,8 @@ static PySequenceMethods bpy_bmdeformvert_as_sequence = {
|
||||
NULL, /* sq_concat */
|
||||
NULL, /* sq_repeat */
|
||||
|
||||
/* note: if this is set PySequence_Check() returns True,
|
||||
* but in this case we dont want to be treated as a seq */
|
||||
/* Note: if this is set #PySequence_Check() returns True,
|
||||
* but in this case we don't want to be treated as a seq. */
|
||||
NULL, /* sq_item */
|
||||
|
||||
NULL, /* sq_slice */
|
||||
|
@@ -890,7 +890,7 @@ PyObject *BPY_app_translations_struct(void)
|
||||
|
||||
void BPY_app_translations_end(void)
|
||||
{
|
||||
/* Incase the object remains in a module's namespace, see T44127. */
|
||||
/* In case the object remains in a module's name-space, see T44127. */
|
||||
#ifdef WITH_INTERNATIONAL
|
||||
_clear_translations_cache();
|
||||
#endif
|
||||
|
@@ -1015,7 +1015,7 @@ static PyObject *Quaternion_matmul(PyObject *q1, PyObject *q2)
|
||||
return NULL;
|
||||
}
|
||||
/*------------------------obj @= obj------------------------------
|
||||
* inplace quaternion multiplication */
|
||||
* in-place quaternion multiplication */
|
||||
static PyObject *Quaternion_imatmul(PyObject *q1, PyObject *q2)
|
||||
{
|
||||
float quat[QUAT_SIZE];
|
||||
|
@@ -786,10 +786,8 @@ static PyObject *Vector_to_track_quat(VectorObject *self, PyObject *args)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
* flip vector around, since vectoquat expect a vector from target to tracking object
|
||||
* and the python function expects the inverse (a vector to the target).
|
||||
*/
|
||||
/* Flip vector around, since #vec_to_quat expect a vector from target to tracking object
|
||||
* and the python function expects the inverse (a vector to the target). */
|
||||
negate_v3_v3(vec, self->vec);
|
||||
|
||||
vec_to_quat(quat, vec, track, up);
|
||||
|
@@ -1213,7 +1213,7 @@ static PyObject *M_Geometry_tessellate_polygon(PyObject *UNUSED(self), PyObject
|
||||
PyObject *polyLine, *polyVec;
|
||||
int i, len_polylines, len_polypoints, ls_error = 0;
|
||||
|
||||
/* display listbase */
|
||||
/* Display #ListBase. */
|
||||
ListBase dispbase = {NULL, NULL};
|
||||
DispList *dl;
|
||||
float *fp; /*pointer to the array of malloced dl->verts to set the points from the vectors */
|
||||
@@ -1299,7 +1299,7 @@ static PyObject *M_Geometry_tessellate_polygon(PyObject *UNUSED(self), PyObject
|
||||
BKE_displist_fill(&dispbase, &dispbase, NULL, false);
|
||||
|
||||
/* The faces are stored in a new DisplayList
|
||||
* that's added to the head of the listbase */
|
||||
* that's added to the head of the #ListBase. */
|
||||
dl = dispbase.first;
|
||||
|
||||
tri_list = PyList_New(dl->parts);
|
||||
|
Reference in New Issue
Block a user