Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2012-05-16 18:25:25 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2012-05-16 18:25:25 +0400
commit2e89e0096a5520e3fa042eb748958507d251c77a (patch)
tree105698db977feadf059b90fd1dd3dac9fd65e787
parent1f49f335a9b6358e067ea71683efeb3df4f9d769 (diff)
Spell check fix (lenght -> length)
Note: two remains, in comments in extern/bullet2/src/LinearMath/btVector3.h and extern/libmv/libmv/image/tuple.h.
-rw-r--r--intern/cycles/kernel/osl/nodes/node_camera.osl2
-rw-r--r--source/blender/editors/space_sequencer/sequencer_edit.c2
-rw-r--r--source/blender/makesdna/DNA_movieclip_types.h2
-rw-r--r--source/blender/makesdna/intern/makesdna.c4
-rw-r--r--source/gameengine/GameLogic/SCA_RandomNumberGenerator.h2
5 files changed, 6 insertions, 6 deletions
diff --git a/intern/cycles/kernel/osl/nodes/node_camera.osl b/intern/cycles/kernel/osl/nodes/node_camera.osl
index 0b50084db0f..898ebd2bbb2 100644
--- a/intern/cycles/kernel/osl/nodes/node_camera.osl
+++ b/intern/cycles/kernel/osl/nodes/node_camera.osl
@@ -26,7 +26,7 @@ shader node_camera(
ViewVector = (vector)transform("world", "camera", P);
ViewZDepth = fabs(ViewVector[2]);
- ViewDistance = lenght(ViewVector);
+ ViewDistance = length(ViewVector);
ViewVector = normalize(ViewVector);
}
diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c
index 3d6fbb53e37..1590d08b4a1 100644
--- a/source/blender/editors/space_sequencer/sequencer_edit.c
+++ b/source/blender/editors/space_sequencer/sequencer_edit.c
@@ -1323,7 +1323,7 @@ void SEQUENCER_OT_reload(struct wmOperatorType *ot)
ot->flag = OPTYPE_REGISTER; /* no undo, the data changed is stored outside 'main' */
prop = RNA_def_boolean(ot->srna, "adjust_length", 0, "Adjust Length",
- "Adjust lenght of strips to their data lenght");
+ "Adjust length of strips to their data length");
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
}
diff --git a/source/blender/makesdna/DNA_movieclip_types.h b/source/blender/makesdna/DNA_movieclip_types.h
index ed7310ff883..f073a1957dc 100644
--- a/source/blender/makesdna/DNA_movieclip_types.h
+++ b/source/blender/makesdna/DNA_movieclip_types.h
@@ -84,7 +84,7 @@ typedef struct MovieClip {
struct MovieClipProxy proxy; /* proxy to clip data */
int flag;
- int len; /* lenght of movie */
+ int len; /* length of movie */
} MovieClip;
typedef struct MovieClipScopes {
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c
index fd32def784d..ae79e7b39b0 100644
--- a/source/blender/makesdna/intern/makesdna.c
+++ b/source/blender/makesdna/intern/makesdna.c
@@ -212,7 +212,7 @@ void dna_write(FILE *file, void *pntr, int size);
/**
* Report all structures found so far, and print their lengths.
*/
-void printStructLenghts(void);
+void printStructLengths(void);
@@ -901,7 +901,7 @@ void dna_write(FILE *file, void *pntr, int size)
}
}
-void printStructLenghts(void)
+void printStructLengths(void)
{
int a, unknown = nr_structs, structtype;
/*int lastunknown;*/ /*UNUSED*/
diff --git a/source/gameengine/GameLogic/SCA_RandomNumberGenerator.h b/source/gameengine/GameLogic/SCA_RandomNumberGenerator.h
index 4391dcb304b..8f546b37ec8 100644
--- a/source/gameengine/GameLogic/SCA_RandomNumberGenerator.h
+++ b/source/gameengine/GameLogic/SCA_RandomNumberGenerator.h
@@ -52,7 +52,7 @@ class SCA_RandomNumberGenerator {
/* unsigned long mt[N]; */
unsigned long mt[624];
- /** mti==N+1 means mt[KX_MT_VectorLenght] is not initialized */
+ /** mti==N+1 means mt[KX_MT_VectorLength] is not initialized */
int mti; /* initialized in the cpp file */
/** Calculate a start vector */