Cleanup: style, spelling
This commit is contained in:
@@ -46,7 +46,7 @@ struct MFace;
|
||||
typedef struct LinkNode BVHCache;
|
||||
|
||||
/**
|
||||
* struct that kepts basic information about a BVHTree build from a editmesh
|
||||
* Struct that stores basic information about a BVHTree built from a edit-mesh.
|
||||
*/
|
||||
typedef struct BVHTreeFromEditMesh {
|
||||
struct BVHTree *tree;
|
||||
@@ -66,7 +66,7 @@ typedef struct BVHTreeFromEditMesh {
|
||||
} BVHTreeFromEditMesh;
|
||||
|
||||
/**
|
||||
* struct that kepts basic information about a BVHTree build from a mesh
|
||||
* Struct that stores basic information about a BVHTree built from a mesh.
|
||||
*/
|
||||
typedef struct BVHTreeFromMesh {
|
||||
struct BVHTree *tree;
|
||||
|
||||
@@ -2040,7 +2040,7 @@ static void adjust_offsets(BevelParams *bp)
|
||||
|
||||
/* Should we auto-limit the error accumulation? Typically, spirals can lead to 100x relative adjustments,
|
||||
* and somewhat hacky mechanism of using bp->limit_offset to indicate "clamp the adjustments" is not
|
||||
* obvious to users, who almost certainaly want clamping in this situation.
|
||||
* obvious to users, who almost certainly want clamping in this situation.
|
||||
* The reason not to clamp always is that some models work better without it (e.g., Bent_test in regression
|
||||
* suite, where relative adjust maximum is about .6). */
|
||||
if (!bp->limit_offset) {
|
||||
|
||||
@@ -72,7 +72,7 @@ static void createVertsTrisData(bContext *C, LinkNode *obs,
|
||||
LinkNode *oblink, *dmlink;
|
||||
DerivedMesh *dm;
|
||||
Scene *scene = CTX_data_scene(C);
|
||||
LinkNodePair dms_pair = {NULL,NULL};
|
||||
LinkNodePair dms_pair = {NULL, NULL};
|
||||
|
||||
int nverts, ntris, *tris;
|
||||
float *verts;
|
||||
|
||||
@@ -369,7 +369,7 @@ static bool paint_brush_update(bContext *C,
|
||||
else if (!(brush->flag & BRUSH_CURVE)) {
|
||||
if (!paint_calculate_rake_rotation(ups, brush, mouse_init)) {
|
||||
/* Not enough motion to define an angle. */
|
||||
if(!stroke->rake_started) {
|
||||
if (!stroke->rake_started) {
|
||||
is_dry_run = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -714,12 +714,13 @@ static float screen_aligned(RegionView3D *rv3d, float mat[4][4])
|
||||
}
|
||||
|
||||
|
||||
/* radring = radius of doughnut rings
|
||||
* radhole = radius hole
|
||||
* start = starting segment (based on nrings)
|
||||
* end = end segment
|
||||
* nsides = amount of points in ring
|
||||
* nrigns = amount of rings
|
||||
/**
|
||||
* \param radring: Radius of doughnut rings.
|
||||
* \param radhole: Radius hole.
|
||||
* \param start: Starting segment (based on \a nrings).
|
||||
* \param end: End segment.
|
||||
* \param nsides: Number of points in ring.
|
||||
* \param nrigns: Number of rings.
|
||||
*/
|
||||
static void partial_doughnut(float radring, float radhole, int start, int end, int nsides, int nrings)
|
||||
{
|
||||
|
||||
@@ -1656,7 +1656,7 @@ static int rna_MeshPolygonStringPropertyLayer_data_length(PointerRNA *ptr)
|
||||
return me->totpoly;
|
||||
}
|
||||
|
||||
/* XXX, we dont have propper byte string support yet, so for now use the (bytes + 1)
|
||||
/* XXX, we dont have proper byte string support yet, so for now use the (bytes + 1)
|
||||
* bmesh API exposes correct python/bytestring access */
|
||||
void rna_MeshStringProperty_s_get(PointerRNA *ptr, char *value)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user