diff options
author | Sergej Reich <sergej.reich@googlemail.com> | 2013-04-07 18:09:27 +0400 |
---|---|---|
committer | Sergej Reich <sergej.reich@googlemail.com> | 2013-04-07 18:09:27 +0400 |
commit | fd6a96216819f14763e4b6c8ab33ec58fead5bd2 (patch) | |
tree | ac878070d919e7da3eceb29baa254183ed819ec4 /source | |
parent | b1ac23c5bd63cdf5bb6cf27fb62dc332d8d9cc39 (diff) |
transform: Code cleanup
Reduce scope of a variable.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/transform/transform_conversions.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c index 2098c4a1e27..820a343497c 100644 --- a/source/blender/editors/transform/transform_conversions.c +++ b/source/blender/editors/transform/transform_conversions.c @@ -4591,7 +4591,6 @@ static bool constraints_list_needinv(TransInfo *t, ListBase *list) static void ObjectToTransData(TransInfo *t, TransData *td, Object *ob) { Scene *scene = t->scene; - float obmtx[3][3]; bool constinv; bool skip_invert = false; @@ -4691,7 +4690,7 @@ static void ObjectToTransData(TransInfo *t, TransData *td, Object *ob) /* is there a need to set the global<->data space conversion matrices? */ if (ob->parent || constinv) { - float totmat[3][3], obinv[3][3]; + float obmtx[3][3], totmat[3][3], obinv[3][3]; /* Get the effect of parenting, and/or certain constraints. * NOTE: some Constraints, and also Tracking should never get this |