spelling errors, no real changes to code.
authorCampbell Barton <ideasman42@gmail.com>
Thu, 14 Jan 2010 10:59:42 +0000 (10:59 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 14 Jan 2010 10:59:42 +0000 (10:59 +0000)
21 files changed:
intern/bsp/intern/BSP_CSGMesh.h
intern/ghost/intern/GHOST_SystemWin32.cpp
release/scripts/templates/operator_uv.py
source/blender/blenkernel/intern/armature.c
source/blender/blenkernel/intern/cloth.c
source/blender/blenkernel/intern/depsgraph.c
source/blender/blenkernel/intern/image.c
source/blender/blenkernel/intern/modifier.c
source/blender/blenkernel/intern/pointcache.c
source/blender/blenkernel/intern/softbody.c
source/blender/blenlib/intern/math_vector.c
source/blender/editors/armature/editarmature.c
source/blender/editors/interface/interface_widgets.c
source/blender/editors/mesh/editmesh_add.c
source/blender/editors/mesh/editmesh_lib.c
source/blender/editors/object/object_select.c
source/blender/imbuf/intern/jpeg.c
source/blender/imbuf/intern/radiance_hdr.c
source/blender/makesrna/intern/rna_object_force.c
source/blender/python/generic/vector.c
source/gameengine/Ketsji/KX_PyConstraintBinding.cpp

index 64ecafc2fc08903b2e084a241b1cababf083a919..1fbc8db528690d375332bae0a4c39c8f05f18ff5 100644 (file)
@@ -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 *
index 7d52ab5569286a6969041cee57306cca5474b221..1a1cc99742df33774e2ec1ce8987402d7ca78680 100644 (file)
@@ -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 = 
index 737059ab6666f68b531e2ed3a71bc9a1deb0fd09..15ae9d261a0c419f0c16e4339ac19ca88a8698c3 100644 (file)
@@ -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
index dff670a847fb4030e466f1a31cc26f1799fb136a..e4079eac31bedc61b243dcbe3cf44931996158cd 100644 (file)
@@ -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);
index dc9a70f276798b1d61968f5e68a187950bbb6c0f..de1c2ef8ddc7f2f26ebdf2c72f9c57a9c08e920f 100644 (file)
@@ -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 */
index e664dd01f4d20b3bb7834f81be6667b20b8f447a..d584b18aa84f8067384dcfc8611a17da474e2b03 100644 (file)
@@ -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;
index f7edb2bd1469632dc1f4cbdf1193b9c828de375e..464f4a2875ff3baba6073ebf33a00f5eb8e6c9df 100644 (file)
@@ -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)
 {
index 7fffd7fc223f0ef3d16dcabb3451d661cf1159cb..7e211f60cd5d545b734ac3eec867189e987ef302 100644 (file)
@@ -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);
index 7b2cf72e311a45b24165ae239e465c4294ddfcc7..b31131554bd17850c5d0c95fd0b6c4fdd7783d99 100644 (file)
@@ -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)
index 735c57ea0ce4b040963d418f7c655207d178de3e..54cd8691e79589ed861f886f8c1089456ec354f0 100644 (file)
@@ -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);
index d99d96d28ffc7e8ecb4cf179e20bddb3f91a3d85..bb7c65c48840d6837f6a49ba750bde94fe798b44 100644 (file)
@@ -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];
index f382896c8681b0332cc0188ca7d53bc9aadb4593..1b6b489488cb6acd07b60db240ed65bf251ae735 100644 (file)
@@ -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;
                }
index 575f298b3cd93278143598d6dd5c3cbfa73a26c3..b5d656bc2b60b5b86ca99e609aa86cc3b89fb7ce 100644 (file)
@@ -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);
index 3a80d7c69bbc0477e7e5f6a9229ed910c60aa243..d6b4b43c5699d6c91d0a08a057c4e0128eaed2c5 100644 (file)
@@ -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;
index d99765bd199da2746629098518481af22486beec..69043d9fa98d2e214238f0579db8f9504cb940ef 100644 (file)
@@ -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;
index becad003d5cdf56e243267799ddcd6fe7ea8ad4b..b3a160dfff4f2799a210136e7147ffc5991fb159 100644 (file)
@@ -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;
index 2b2d17784e22747ed164ad7441a26472e04d3436..97d700f3af706b788c78e07f8e7c40a7f3ad5c09 100644 (file)
@@ -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
  */
index 5acde1232fd0da71bead57f91aafdffd619cd8b6..ac62872479b0b0aa76b228bc8281760397bd1220 100644 (file)
@@ -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) {
index 0eb4f9b9da0b33f58bf048a6968f5f21854989c8..852c9107dd3dd574d6d5220e3dff7fa0394b8882 100644 (file)
@@ -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
 }
 
index 0713d60c6c2d037da83a8ceff9602f1db88df524..653f482f7242402e65a3dabc85949a378f3b6895 100644 (file)
@@ -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
index 05513d85fc6b49715e1f12ebf23c7a3f12c1a594..e58beea4984c1ab08d1a020f936ba83a9803be05 100644 (file)
@@ -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;