Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2011-06-30 08:38:27 +0400
committerJoshua Leung <aligorith@gmail.com>2011-06-30 08:38:27 +0400
commit2a85eff40cba602cb07aeb43c1af672ce2945bbb (patch)
tree675bd6785b86830b4a133df3158ce6a558dd8eea /source/blender/makesrna/intern/rna_fcurve.c
parent8d4ea1b15544ed88d80bcbe687324c8321e83b07 (diff)
Bugfixes:
* After changing driver target settings, the driver F-Curves now have their "disabled" flags cleared, so that they will be updated immediately instead of needing a manual "Update Dependencies" flush * Little comment tweak to appease my text editor
Diffstat (limited to 'source/blender/makesrna/intern/rna_fcurve.c')
-rw-r--r--source/blender/makesrna/intern/rna_fcurve.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_fcurve.c b/source/blender/makesrna/intern/rna_fcurve.c
index ab3665fb8ff..5b3b4921727 100644
--- a/source/blender/makesrna/intern/rna_fcurve.c
+++ b/source/blender/makesrna/intern/rna_fcurve.c
@@ -139,6 +139,7 @@ static void rna_DriverTarget_update_data(Main *bmain, Scene *scene, PointerRNA *
/* find the driver this belongs to and update it */
for (fcu=adt->drivers.first; fcu; fcu=fcu->next) {
driver= fcu->driver;
+ fcu->flag &= ~FCURVE_DISABLED;
if (driver) {
// FIXME: need to be able to search targets for required one...