diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-09 04:41:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-09 04:41:09 +0400 |
commit | 4f7bdc59d31e94bc97955c1efeef2a8fce0c8ecd (patch) | |
tree | 7e0a36829cf52ff260821ce02716727052b95d32 /source/blender/editors/object/object_vgroup.c | |
parent | 27d43f3fd3a6fbda95cdb87e4672fe34f19c2205 (diff) |
style cleanup: spelling.
also remove large, duplicate comments from sunsky.h
Diffstat (limited to 'source/blender/editors/object/object_vgroup.c')
-rw-r--r-- | source/blender/editors/object/object_vgroup.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/editors/object/object_vgroup.c b/source/blender/editors/object/object_vgroup.c index 34396bf7fa4..6a144ad748b 100644 --- a/source/blender/editors/object/object_vgroup.c +++ b/source/blender/editors/object/object_vgroup.c @@ -715,7 +715,7 @@ static void vgroup_normalize(Object *ob) for(i = 0; i < dvert_tot; i++) { - /* incase its not selected */ + /* in case its not selected */ if (!(dv = dvert_array[i])) { continue; } @@ -729,7 +729,7 @@ static void vgroup_normalize(Object *ob) if(weight_max > 0.0f) { for(i = 0; i < dvert_tot; i++) { - /* incase its not selected */ + /* in case its not selected */ if (!(dv = dvert_array[i])) { continue; } @@ -738,7 +738,7 @@ static void vgroup_normalize(Object *ob) if(dw) { dw->weight /= weight_max; - /* incase of division errors with very low weights */ + /* in case of division errors with very low weights */ CLAMP(dw->weight, 0.0f, 1.0f); } } @@ -1113,7 +1113,7 @@ static void vgroup_levels(Object *ob, float offset, float gain) if (dvert_array) { for(i = 0; i < dvert_tot; i++) { - /* incase its not selected */ + /* in case its not selected */ if (!(dv = dvert_array[i])) { continue; } @@ -1149,7 +1149,7 @@ static void vgroup_normalize_all(Object *ob, int lock_active) if(lock_active) { for(i = 0; i < dvert_tot; i++) { - /* incase its not selected */ + /* in case its not selected */ if (!(dv = dvert_array[i])) { continue; } @@ -1160,7 +1160,7 @@ static void vgroup_normalize_all(Object *ob, int lock_active) else { for(i = 0; i < dvert_tot; i++) { - /* incase its not selected */ + /* in case its not selected */ if (!(dv = dvert_array[i])) { continue; } @@ -1220,7 +1220,7 @@ static void vgroup_invert(Object *ob, const short auto_assign, const short auto_ if (dvert_array) { for(i = 0; i < dvert_tot; i++) { - /* incase its not selected */ + /* in case its not selected */ if (!(dv = dvert_array[i])) { continue; } @@ -1324,7 +1324,7 @@ static void vgroup_blend(Object *ob) dw= defvert_verify_index(dvert, def_nr); dw->weight= vg_weights[i] / (float)vg_users[i]; - /* incase of division errors */ + /* in case of division errors */ CLAMP(dw->weight, 0.0f, 1.0f); } @@ -1353,7 +1353,7 @@ static void vgroup_clean(Object *ob, const float epsilon, int keep_single) /* only the active group */ for(i = 0; i < dvert_tot; i++) { - /* incase its not selected */ + /* in case its not selected */ if (!(dv = dvert_array[i])) { continue; } @@ -1388,7 +1388,7 @@ static void vgroup_clean_all(Object *ob, const float epsilon, const int keep_sin for(i = 0; i < dvert_tot; i++) { int j; - /* incase its not selected */ + /* in case its not selected */ if (!(dv = dvert_array[i])) { continue; } |