Depsgraph: Fix missing cases of SOURCE ID recalc tag

This commit is contained in:
Sergey Sharybin 2019-07-28 15:07:06 +02:00
parent 5e56cfa958
commit 11814080a6
1 changed files with 5 additions and 0 deletions

View File

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