diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2007-08-01 09:05:34 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2007-08-01 09:05:34 +0400 |
commit | f1b0f114c7be4c1f024b30bbd9f8ad6c796e355b (patch) | |
tree | bfccbddadba2f53a2c6fa07fbf4e287b2f0ce0ef /source | |
parent | c0e0f4698fa67bbd391f862e836dffd622e98699 (diff) |
* put declaration at *begin* of code block. Now MSVC shouldn't barf anymore.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/editipo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editipo.c b/source/blender/src/editipo.c index 8cf16fb05e1..30d51f218a6 100644 --- a/source/blender/src/editipo.c +++ b/source/blender/src/editipo.c @@ -2207,6 +2207,7 @@ int insertmatrixkey(ID *id, int blocktype, char *actname, char *constname, int a if ( blocktype==ID_OB ){ //working with an object if ((ob)&&!(ob->parent)) { if ((adrcode==OB_ROT_X)||(adrcode==OB_ROT_Y)||(adrcode==OB_ROT_Z)) { //get a rotation + float eul[3]; switch (adrcode) { case OB_ROT_X: matindex=0; @@ -2218,7 +2219,6 @@ int insertmatrixkey(ID *id, int blocktype, char *actname, char *constname, int a matindex=2; break; } - float eul[3]; Mat4ToEul(ob->obmat, eul); insertfloatkey(id, ID_OB, actname, NULL, adrcode, eul[matindex]*(5.72958)); return 1; |