Reverting part of #32971

By just removing these vars (commenting them out), we were getting alignment errors which were causing crashes when loading old files with armatures (crash in armature drawing code). 

Fortunately I happen to be working on a little project right now, and caught this :)
This commit is contained in:
Joshua Leung
2010-11-10 09:51:30 +00:00
parent 4b45a42b48
commit 1a0198ee12

View File

@@ -193,9 +193,9 @@ typedef struct bPoseChannel {
short agrp_index; /* index of action-group this bone belongs to (0 = default/no group) */
// XXX depreceated.... old animation system (armature only viz) ----
// int pathlen; /* for drawing paths, the amount of frames */
// int pathsf; /* for drawing paths, the start frame number */
// int pathef; /* for drawing paths, the end frame number */
int pathlen; /* for drawing paths, the amount of frames */
int pathsf; /* for drawing paths, the start frame number */
int pathef; /* for drawing paths, the end frame number */
// XXX end of depreceated code -------------------------------------
struct Bone *bone; /* set on read file or rebuild pose */