Blender Git Loki

Git Commits -> Revision 6aeb1f7

Revision 6aeb1f7 by Joshua Leung (master)
March 19, 2016, 04:48 (GMT)
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 :)

Commit Details:

Full Hash: 6aeb1f7f5609dc1e82b9b2d915e2ee54b3c467de
Parent Commit: 3d59be3
Lines Changed: +9, -9

1 Modified Path:

/source/blender/makesdna/DNA_anim_types.h (+9, -9) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021