diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-06-17 15:09:01 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-06-17 15:09:01 +0300 |
commit | 5e7e49e00d46734281b28a82582e3e3dd37e609c (patch) | |
tree | d78af99749156870d96db5e8628ddd42fa9df985 /source/blender/depsgraph | |
parent | b50de0f8b75b9f7af62e09528635f6a9fdbb07cd (diff) |
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.
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_tag.cc | 5 |
1 files changed, 5 insertions, 0 deletions
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"; } |