diff options
author | Joshua Leung <aligorith@gmail.com> | 2016-03-19 07:48:29 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2016-03-19 07:48:29 +0300 |
commit | 6aeb1f7f5609dc1e82b9b2d915e2ee54b3c467de (patch) | |
tree | e6f060f055f5a590cbd3ba1ac461e8d69b10dfe3 /source/blender/blenlib/BLI_kdopbvh.h | |
parent | 3d59be3001c5c4ca3763d8b1bed81aeaefd2c97f (diff) |
Fix: "pchan_name" field in SDNA for names of bone targets for drivers was too short
When all the names in Blender were updated to go from having 32 characters to 64,
the "pchan_name" field in the DriverTarget struct was missed. This meant that if you
had a bone with a suitably long name, it would have been impossible to use values from this
bone in a driver.
The only reason this probably hasn't been discovered yet is because the standard/old depsgraph
doesn't work that well for bones in the same armatures, so setups where this may have
occurred are not that common.
To prevent this problem from happening in future, I've added the standard "MAX_ID_NAME-2"
comment to the comments on each line likely to be impacted by such changes, making it
easier for whoever does a search and replace in future :)
Diffstat (limited to 'source/blender/blenlib/BLI_kdopbvh.h')
0 files changed, 0 insertions, 0 deletions