Bugfix #20041: Drivers don't work on bone visiblity
authorJoshua Leung <aligorith@gmail.com>
Thu, 26 Nov 2009 03:43:39 +0000 (03:43 +0000)
committerJoshua Leung <aligorith@gmail.com>
Thu, 26 Nov 2009 03:43:39 +0000 (03:43 +0000)
commit1fcffd1aa0d03722dbaa8990bfe09b38f194b565
tree29317da70a00121e933cd024043385b0884dd344
parenteee8bf344acaae83af294774f1d90b0d07f53fc7
Bugfix #20041: Drivers don't work on bone visiblity

- Drivers on added to the 'armature' datablock (i.e. keyframing some settings for a "Bone" as opposed to "PoseBone") now evaluate correctly. Added proper recalcs for this case too.

- Also fixed some memory leaks and loading problems I encountered with the test file provided. After having problems loading the test file, I ended up reproducing and finding the error.
source/blender/blenkernel/intern/armature.c
source/blender/blenkernel/intern/object.c
source/blender/blenloader/intern/readfile.c