From 2e89e0096a5520e3fa042eb748958507d251c77a Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Wed, 16 May 2012 14:25:25 +0000 Subject: [PATCH] Spell check fix (lenght -> length) Note: two remains, in comments in extern/bullet2/src/LinearMath/btVector3.h and extern/libmv/libmv/image/tuple.h. --- intern/cycles/kernel/osl/nodes/node_camera.osl | 2 +- source/blender/editors/space_sequencer/sequencer_edit.c | 2 +- source/blender/makesdna/DNA_movieclip_types.h | 2 +- source/blender/makesdna/intern/makesdna.c | 4 ++-- source/gameengine/GameLogic/SCA_RandomNumberGenerator.h | 2 +- 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 */