spelling errors, no real changes to code.

This commit is contained in:
Campbell Barton 2010-01-14 10:59:42 +00:00
parent 4371c3b044
commit b0f87935a8
21 changed files with 22 additions and 22 deletions

@ -83,7 +83,7 @@ public :
DestroyEdges(
);
// return a new seperate copy of the
// return a new separate copy of the
// mesh allocated on the heap.
BSP_CSGMesh *

@ -665,7 +665,7 @@ LRESULT WINAPI GHOST_SystemWin32::s_wndProc(HWND hwnd, UINT msg, WPARAM wParam,
case VK_CONTROL:
case VK_MENU:
if (!system->m_separateLeftRightInitialized) {
// Check whether this system supports seperate left and right keys
// Check whether this system supports separate left and right keys
switch (wParam) {
case VK_SHIFT:
system->m_separateLeftRight =

@ -26,7 +26,7 @@ def main(context):
class UvOperator(bpy.types.Operator):
''''''
bl_idname = "uv.simple_operator"
bl_label = "Simple Object Operator"
bl_label = "Simple UV Operator"
def poll(self, context):
obj = context.active_object

@ -274,7 +274,7 @@ void bone_flip_name (char *name, int strip_number)
/* We first check the case with a .### extension, let's find the last period */
if(isdigit(name[len-1])) {
index= strrchr(name, '.'); // last occurrance
index= strrchr(name, '.'); // last occurrence
if (index && isdigit(index[1]) ) { // doesnt handle case bone.1abc2 correct..., whatever!
if(strip_number==0)
strcpy(number, index);

@ -478,7 +478,7 @@ DerivedMesh *clothModifier_do(ClothModifierData *clmd, Scene *scene, Object *ob,
}
}
// unused in the moment, calculated seperately in implicit.c
// unused in the moment, calculated separately in implicit.c
clmd->sim_parms->dt = clmd->sim_parms->timescale / clmd->sim_parms->stepsPerFrame;
/* handle continuous simulation with the play button */

@ -809,7 +809,7 @@ DagNode * dag_find_node (DagForest *forest,void * fob)
static int ugly_hack_sorry= 1; // prevent type check
/* no checking of existance, use dag_find_node first or dag_get_node */
/* no checking of existence, use dag_find_node first or dag_get_node */
DagNode * dag_add_node (DagForest *forest, void * fob)
{
DagNode *node;

@ -1480,7 +1480,7 @@ struct anim *openanim(char *name, int flags)
*/
/* forces existance of 1 Image for renderout or nodes, returns Image */
/* forces existence of 1 Image for renderout or nodes, returns Image */
/* name is only for default, when making new one */
Image *BKE_image_verify_viewer(int type, const char *name)
{

@ -1817,7 +1817,7 @@ static void vertgroup_flip_name (char *name, int strip_number)
/* We first check the case with a .### extension, let's find the last period */
if(isdigit(name[len-1])) {
index= strrchr(name, '.'); // last occurrance
index= strrchr(name, '.'); // last occurrence
if (index && isdigit(index[1]) ) { // doesnt handle case bone.1abc2 correct..., whatever!
if(strip_number==0)
strcpy(number, index);

@ -1447,7 +1447,7 @@ int BKE_ptcache_read_cache(PTCacheID *pid, float cfra, float frs_sec)
}
}
/* don't read old cache if allready simulated past cached frame */
/* don't read old cache if already simulated past cached frame */
if(!pm && !pf && cfra1 && cfra1 <= pid->cache->simframe)
error = 1;
if(cfra1 && cfra1==cfra2)

@ -1269,7 +1269,7 @@ static int sb_detect_face_collisionCached(float face_v1[3],float face_v2[3],floa
normalize_v3(d_nvect);
if (
/* isect_line_tri_v3(nv1, nv3, face_v1, face_v2, face_v3, &t, NULL) ||
we did that edge allready */
we did that edge already */
isect_line_tri_v3(nv3, nv4, face_v1, face_v2, face_v3, &t, NULL) ||
isect_line_tri_v3(nv4, nv1, face_v1, face_v2, face_v3, &t, NULL) ){
Vec3PlusStVec(force,-0.5f,d_nvect);

@ -69,7 +69,7 @@ void interp_v3_v3v3v3(float p[3], const float v1[3], const float v2[3], const fl
}
/* weight 3 vectors,
* 'w' must be unit length but is not a vector, just 3 weights */
* 'w' must be unit length but is not a vector, just 4 weights */
void interp_v3_v3v3v3v3(float p[3], const float v1[3], const float v2[3], const float v3[3], const float v4[3], const float w[4])
{
p[0] = v1[0]*w[0] + v2[0]*w[1] + v3[0]*w[2] + v4[0]*w[3];

@ -517,7 +517,7 @@ void unique_editbone_name (ListBase *edbo, char *name, EditBone *bone)
/* Strip off the suffix, if it's a number */
number= strlen(name);
if (number && isdigit(name[number-1])) {
dot= strrchr(name, '.'); // last occurrance
dot= strrchr(name, '.'); // last occurrence
if (dot)
*dot=0;
}
@ -5318,7 +5318,7 @@ void unique_bone_name (bArmature *arm, char *name)
/* Strip off the suffix, if it's a number */
number= strlen(name);
if(number && isdigit(name[number-1])) {
dot= strrchr(name, '.'); // last occurrance
dot= strrchr(name, '.'); // last occurrence
if (dot)
*dot=0;
}

@ -1008,7 +1008,7 @@ static void widget_draw_text_icon(uiFontStyle *fstyle, uiWidgetColors *wcol, uiB
}
/* If there's an icon too (made with uiDefIconTextBut) then draw the icon
and offset the text label to accomodate it */
and offset the text label to accommodate it */
if (but->flag & UI_HAS_ICON) {
widget_draw_icon(but, but->icon+but->iconadd, 1.0f, rect);

@ -484,7 +484,7 @@ static int compareface_overlaps(EditFace *vl1, EditFace *vl2)
return 0;
}
/* checks for existance, and for tria overlapping inside quad */
/* checks for existence, and for tria overlapping inside quad */
static EditFace *exist_face_overlaps(EditMesh *em, EditVert *v1, EditVert *v2, EditVert *v3, EditVert *v4)
{
EditFace *efa, efatest;

@ -1975,7 +1975,7 @@ int compareface(EditFace *vl1, EditFace *vl2)
return 0;
}
/* checks for existance, not tria overlapping inside quad */
/* checks for existence, not tria overlapping inside quad */
EditFace *exist_face(EditMesh *em, EditVert *v1, EditVert *v2, EditVert *v3, EditVert *v4)
{
EditFace *efa, efatest;

@ -786,7 +786,7 @@ void object_flip_name (char *name)
/* We first check the case with a .### extension, let's find the last period */
if(isdigit(name[len-1])) {
index= strrchr(name, '.'); // last occurrance
index= strrchr(name, '.'); // last occurrence
if (index && isdigit(index[1]) ) { // doesnt handle case bone.1abc2 correct..., whatever!
strcpy(number, index);
*index= 0;

@ -64,7 +64,7 @@ static ImBuf * ibJpegImageFromCinfo(struct jpeg_decompress_struct * cinfo, int f
type 3 is unsupported as of jul 05 2000 Frank.
* 3. jstr - as 2, but written in 2 seperate fields
* 3. jstr - as 2, but written in 2 separate fields
* 4. jmax - no scaling in the components
*/

@ -283,7 +283,7 @@ static int fwritecolrs(FILE* file, int width, int channels, unsigned char* ibufs
putc(2, file);
putc((unsigned char)(width >> 8), file);
putc((unsigned char)(width & 255), file);
/* put components seperately */
/* put components separately */
for (i=0;i<4;i++) {
for (j=0;j<width;j+=cnt) { /* find next run */
for (beg=j;beg<width;beg+=cnt) {

@ -1312,7 +1312,7 @@ static void rna_def_field(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "Amplitude", "The amplitude of the offset");
RNA_def_property_update(prop, 0, "rna_FieldSettings_update");
/* Variables used for Curve Guide, allready wrapped, used for other fields too */
/* Variables used for Curve Guide, already wrapped, used for other fields too */
// falloff_power, use_max_distance, maximum_distance
}

@ -1287,7 +1287,7 @@ static PyObject *Vector_getSwizzle(VectorObject * self, void *closure)
the destination is effectively re-ordered as defined by the swizzle. At
most min(len(source), len(dest)) values will be copied.
- If the value is scalar, it is copied to all axes listed in the swizzle.
- If an axis appears more than once in the swizzle, the final occurrance is
- If an axis appears more than once in the swizzle, the final occurrence is
the one that determines its value.
Returns 0 on success and -1 on failure. On failure, the vector will be

@ -443,7 +443,7 @@ static PyObject* gPyCreateConstraint(PyObject* self,
PHY_IPhysicsController* physctrl = (PHY_IPhysicsController*) physicsid;
PHY_IPhysicsController* physctrl2 = (PHY_IPhysicsController*) physicsid2;
if (physctrl) //TODO:check for existance of this pointer!
if (physctrl) //TODO:check for existence of this pointer!
{
PHY_ConstraintType ct = (PHY_ConstraintType) constrainttype;
int constraintid =0;