diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-11-10 12:51:30 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-11-10 12:51:30 +0300 |
commit | 1a0198ee12afa4f174d49001617069bdc68a66bb (patch) | |
tree | 50e5432cb1d1fc7bb6d76a173ed111f8a0746cb4 /source/blender/makesdna | |
parent | 4b45a42b48ea7c787452cd5c7c16eea09be3864c (diff) |
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 :)
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_action_types.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h index c2e20448bcf..6f6e4978cfc 100644 --- a/source/blender/makesdna/DNA_action_types.h +++ b/source/blender/makesdna/DNA_action_types.h @@ -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 */ |