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.
This commit is contained in:
Sergey Sharybin 2016-10-25 16:53:13 +02:00
parent c54381488b
commit 42a91f7ad8
Notes: blender-bot 2023-02-14 08:45:09 +01:00
Referenced by issue #49836, Camera DOF properties not updating via graph editor
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}
}
}