Cleanup: reduce variable scope

This commit is contained in:
2020-09-09 18:41:07 +02:00
parent 0cff2c944f
commit 63916f5941
79 changed files with 378 additions and 584 deletions

View File

@@ -834,11 +834,10 @@ static int apply_objects_internal(bContext *C,
}
else if (ob->type == OB_FONT) {
Curve *cu = ob->data;
int i;
scale = mat3_to_scale(rsmat);
for (i = 0; i < cu->totbox; i++) {
for (int i = 0; i < cu->totbox; i++) {
TextBox *tb = &cu->tb[i];
tb->x *= scale;
tb->y *= scale;