Commit: 11814080a61b6b1a0a8926dee5f3bd2388831694
Author: Sergey Sharybin
Date: Sun Jul 28 15:07:06 2019 +0200
Branches: master
https://developer.blender.org/rB11814080a61b6b1a0a8926dee5f3bd2388831694
Depsgraph: Fix missing cases of SOURCE ID recalc tag
===================================================================
M 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 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";
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs