Fix T64595: Mask does not update correctly when changing frames

Is caused by change which made all IDs to have parameters.

Solved by using more explicit relations.
This commit is contained in:
Sergey Sharybin 2019-05-17 15:48:01 +02:00
parent cd78a08a19
commit fa9ab7b5a9
Notes: blender-bot 2023-05-22 12:40:41 +02:00
Referenced by issue #64595, mask does not update correctly when changing frames
1 changed files with 2 additions and 2 deletions

View File

@ -2269,8 +2269,8 @@ void DepsgraphRelationBuilder::build_mask(Mask *mask)
TimeSourceKey time_src_key;
add_relation(time_src_key, mask_animation_key, "TimeSrc -> Mask Animation");
/* Final mask evaluation. */
ComponentKey parameters_key(mask_id, NodeType::PARAMETERS);
add_relation(mask_animation_key, parameters_key, "Mask Animation -> Mask Eval");
OperationKey mask_eval_key(mask_id, NodeType::PARAMETERS, OperationCode::MASK_EVAL);
add_relation(mask_animation_key, mask_eval_key, "Mask Animation -> Mask Eval");
}
void DepsgraphRelationBuilder::build_movieclip(MovieClip *clip)