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>2019-07-28 16:07:06 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-07-28 16:07:06 +0300
commit11814080a61b6b1a0a8926dee5f3bd2388831694 (patch)
treee3c0277db2edf565d3f2d50676fb960b153aba94 /source/blender/depsgraph/intern/depsgraph_tag.cc
parent5e56cfa958d33a2e66ef914c9b3f421cbb79e32c (diff)
Depsgraph: Fix missing cases of SOURCE ID recalc tag
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_tag.cc')
-rw-r--r--source/blender/depsgraph/intern/depsgraph_tag.cc5
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 729a0929dd5..f367f080da2 100644
--- a/source/blender/depsgraph/intern/depsgraph_tag.cc
+++ b/source/blender/depsgraph/intern/depsgraph_tag.cc
@@ -229,6 +229,9 @@ void depsgraph_tag_to_component_opcode(const ID *id,
case ID_RECALC_PARAMETERS:
*component_type = NodeType::PARAMETERS;
break;
+ case ID_RECALC_SOURCE:
+ *component_type = NodeType::PARAMETERS;
+ break;
case ID_RECALC_TIME:
BLI_assert(!"Should be handled outside of this function");
break;
@@ -703,6 +706,8 @@ const char *DEG_update_tag_as_string(IDRecalcFlag flag)
return "PARAMETERS";
case ID_RECALC_TIME:
return "TIME";
+ case ID_RECALC_SOURCE:
+ return "SOURCE";
case ID_RECALC_ALL:
return "ALL";
}