style cleanup & some spelling
This commit is contained in:
@@ -736,7 +736,7 @@ void BM_log_redo(BMesh *bm, BMLog *log)
|
||||
* vertex in the map of added vertices.
|
||||
*
|
||||
* If the vertex already existed prior to the current log entry, a
|
||||
* seperate key/value map of modified vertices is used (using the
|
||||
* separate key/value map of modified vertices is used (using the
|
||||
* vertex's ID as the key). The values stored in that case are
|
||||
* the vertex's original state so that an undo can restore the
|
||||
* previous state.
|
||||
|
||||
@@ -858,7 +858,7 @@ static void *bmw_EdgeringWalker_step(BMWalker *walker)
|
||||
if (!EDGE_CHECK(e)) {
|
||||
/* walker won't traverse to a non-manifold edge, but may
|
||||
* be started on one, and should not traverse *away* from
|
||||
* a non-manfold edge (non-manifold edges are never in an
|
||||
* a non-manifold edge (non-manifold edges are never in an
|
||||
* edge ring with manifold edges */
|
||||
return e;
|
||||
}
|
||||
|
||||
@@ -1391,7 +1391,7 @@ void GPU_update_mesh_buffers(GPU_Buffers *buffers, MVert *mvert,
|
||||
vert_data = glMapBufferARB(GL_ARRAY_BUFFER_ARB, GL_WRITE_ONLY_ARB);
|
||||
|
||||
if (vert_data) {
|
||||
/* Vertex data is shared if smooth-shaded, but seperate
|
||||
/* Vertex data is shared if smooth-shaded, but separate
|
||||
copies are made for flat shading because normals
|
||||
shouldn't be shared. */
|
||||
if (buffers->smooth) {
|
||||
|
||||
@@ -3153,10 +3153,10 @@ static int rna_property_array_length_all_dimensions(PointerRNA *ptr, PropertyRNA
|
||||
const int dim = RNA_property_array_dimension(ptr, prop, len);
|
||||
int size;
|
||||
|
||||
if(dim == 0)
|
||||
if (dim == 0)
|
||||
return 0;
|
||||
|
||||
for(size = 1, i = 0; i < dim; i++)
|
||||
for (size = 1, i = 0; i < dim; i++)
|
||||
size *= len[i];
|
||||
|
||||
return size;
|
||||
@@ -3197,7 +3197,7 @@ static int rna_raw_access(ReportList *reports, PointerRNA *ptr, PropertyRNA *pro
|
||||
}
|
||||
|
||||
/* dynamic array? need to get length per item */
|
||||
if(itemprop->getlength) {
|
||||
if (itemprop->getlength) {
|
||||
itemprop = NULL;
|
||||
}
|
||||
/* try to access as raw array */
|
||||
|
||||
Reference in New Issue
Block a user