Depsgraph: Allow flush of CoW tag from Action
This way we guarantee that action tagged for CoW will ensure order of updates with objects which are using it. Fixes T57870: Scaling keyframes in Graph Editor causes crash Fixes T57971: Moving keys in the Dopesheet crashes with Segfault 11 Fixes T57530: Moving keys on a rig, Crash Fixee T57491: Crash when trying to move keyframe in dope sheet
This commit is contained in:
parent
693233b198
commit
2a354dd4bd
Notes:
blender-bot
2023-02-14 06:25:25 +01:00
Referenced by issue #61231, Undo -ing during weight painting reverts (temporarily set) pose to keyframed pose Referenced by issue #57980, Assert failure in draw manager when opening file Referenced by issue #57971, Moving keys in the Dopesheet crashes with Segfault 11 Referenced by issue #57870, Scaling keyframes in Graph Editor causes crash Referenced by issue #57530, moving keys on a rig, Crash Referenced by issue #57491, crash when trying to move keyframe in dope sheet
|
@ -2427,7 +2427,8 @@ void DepsgraphRelationBuilder::build_copy_on_write_relations(IDDepsNode *id_node
|
|||
* that cached array fo bases exists and is up-to-date.
|
||||
*/
|
||||
if (comp_node->type == DEG_NODE_TYPE_PARAMETERS ||
|
||||
comp_node->type == DEG_NODE_TYPE_LAYER_COLLECTIONS)
|
||||
comp_node->type == DEG_NODE_TYPE_LAYER_COLLECTIONS ||
|
||||
(comp_node->type == DEG_NODE_TYPE_ANIMATION && id_type == ID_AC))
|
||||
{
|
||||
rel_flag &= ~DEPSREL_FLAG_NO_FLUSH;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue