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:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-10-22 17:43:49 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-10-22 17:43:49 +0300
commitb4ebb9d8efb202221834475e1c06b0ae3e4ffe77 (patch)
tree3b9f51b3f5500a61c0c397943cacba5bc4473307 /source/blender/makesrna/intern/rna_access.c
parenteba9c1507a27937e8f71d7375f3c13575ea9fec7 (diff)
Fix T56636: Custom property cannot be animated
No need to tag object for time update, with new dependency graph this forces animation to be re-evaluated, which is not something we want in this instance. Same patch/solution Philipp Oeser came to as well.
Diffstat (limited to 'source/blender/makesrna/intern/rna_access.c')
-rw-r--r--source/blender/makesrna/intern/rna_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c
index b05a6bd6c1d..3cc99571ccf 100644
--- a/source/blender/makesrna/intern/rna_access.c
+++ b/source/blender/makesrna/intern/rna_access.c
@@ -2097,7 +2097,7 @@ static void rna_property_update(bContext *C, Main *bmain, Scene *scene, PointerR
if (!is_rna || (prop->flag & PROP_IDPROPERTY)) {
/* WARNING! This is so property drivers update the display!
* not especially nice */
- DEG_id_tag_update(ptr->id.data, OB_RECALC_OB | OB_RECALC_DATA | OB_RECALC_TIME);
+ DEG_id_tag_update(ptr->id.data, OB_RECALC_OB | OB_RECALC_DATA);
WM_main_add_notifier(NC_WINDOW, NULL);
/* Not nice as well, but the only way to make sure material preview
* is updated with custom nodes.