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:
authorFabrício Luis <ce3po>2020-11-16 15:55:17 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-11-16 16:10:24 +0300
commit75af3165ca6bf4cbb54a9f63e89cc10c90cd982c (patch)
tree76f5c8262d8aa5ea9f4994af06577f7bb8da3bdd
parent8b815c7ce565b707fca9e9793bbec9784856f0f9 (diff)
Fix T82519: Adding 2nd driver doesn't recalculate
Remove `return` from for-loop which blocked the recalculation of driven values when it found the first driver. Reviewed By: sybren, sergey Differential Revision: https://developer.blender.org/D9515
-rw-r--r--source/blender/makesrna/intern/rna_fcurve.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_fcurve.c b/source/blender/makesrna/intern/rna_fcurve.c
index 38328628f11..8734984d4e1 100644
--- a/source/blender/makesrna/intern/rna_fcurve.c
+++ b/source/blender/makesrna/intern/rna_fcurve.c
@@ -267,7 +267,6 @@ static void rna_DriverTarget_update_data(Main *bmain, Scene *scene, PointerRNA *
/*BLI_findindex(&driver->targets, ptr->data) != -1) */
RNA_pointer_create(ptr->owner_id, &RNA_Driver, driver, &driverptr);
rna_ChannelDriver_update_data(bmain, scene, &driverptr);
- return;
}
}
}