Cleanup: reduce variable scope
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user