From 5e7e49e00d46734281b28a82582e3e3dd37e609c Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 17 Jun 2019 14:09:01 +0200 Subject: Fix T65662: Drivers on custom properties doesn't properly update Happens if custom property is on object data data-block, which doesn't have translation or geometry components. Not for lights and cameras at least. --- source/blender/depsgraph/intern/depsgraph_tag.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to '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 1c26e6fecd5..583191490d2 100644 --- a/source/blender/depsgraph/intern/depsgraph_tag.cc +++ b/source/blender/depsgraph/intern/depsgraph_tag.cc @@ -226,6 +226,9 @@ void depsgraph_tag_to_component_opcode(const ID *id, case ID_RECALC_AUDIO: *component_type = NodeType::AUDIO; break; + case ID_RECALC_PARAMETERS: + *component_type = NodeType::PARAMETERS; + break; case ID_RECALC_ALL: case ID_RECALC_PSYS_ALL: BLI_assert(!"Should not happen"); @@ -659,6 +662,8 @@ const char *DEG_update_tag_as_string(IDRecalcFlag flag) return "AUDIO_LISTENER"; case ID_RECALC_AUDIO: return "AUDIO"; + case ID_RECALC_PARAMETERS: + return "PARAMETERS"; case ID_RECALC_ALL: return "ALL"; } -- cgit v1.2.3