[Bf-blender-cvs] [42a91f7] master: Partial fix for T49836: Camera DOF properties not updating via graph editor
Sergey Sharybin
noreply at git.blender.org
Tue Oct 25 16:55:03 CEST 2016
Commit: 42a91f7ad85b6f1ebfc2db18d3a455037d3faf87
Author: Sergey Sharybin
Date: Tue Oct 25 16:53:13 2016 +0200
Branches: master
https://developer.blender.org/rB42a91f7ad85b6f1ebfc2db18d3a455037d3faf87
Partial fix for T49836: Camera DOF properties not updating via graph editor
Do this for the new dependency graph: was missing handle of OB_UPDATE_TIME in tag update.
Hopefully it's all correct still.
Old dependency graph needs work, but i'm tempting to call it unsupported and move on
to 2.8 branch.
===================================================================
M source/blender/depsgraph/intern/depsgraph_tag.cc
===================================================================
diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc
index b7b62bd..4f27dab 100644
--- a/source/blender/depsgraph/intern/depsgraph_tag.cc
+++ b/source/blender/depsgraph/intern/depsgraph_tag.cc
@@ -235,6 +235,9 @@ void DEG_id_tag_update_ex(Main *bmain, ID *id, short flag)
if (flag & (OB_RECALC_OB | OB_RECALC_DATA)) {
DEG_graph_id_tag_update(bmain, graph, id);
}
+ else if (flag & OB_RECALC_TIME) {
+ DEG_graph_id_tag_update(bmain, graph, id);
+ }
}
}
More information about the Bf-blender-cvs
mailing list