Page MenuHome

Fix autokeyframing masks not updating properly
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on May 19 2020, 12:37 PM.

Diff Detail

Repository
rB Blender
Branch
T76872 (branched from master)
Build Status
Buildable 8112
Build 8112: arc lint + arc unit

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.May 19 2020, 12:37 PM
Philipp Oeser (lichtwerk) created this revision.

Think its fine but a bit weird to do DEG_id_tag_update since the mask was transformed, so should have been tagged somewhere for that already?

Think its fine but a bit weird to do DEG_id_tag_update since the mask was transformed, so should have been tagged somewhere for that already?

I can only assume this is how the transform system works?

  • you change data (mouse move etc), you get recalcData / recalcData_mask_common [that tags indeed]
  • but if you confirm, you are not really changing data again [unless you are auto-keyframing mask which will store the points in the shape]

And inbetween that recalcData and the confirm, depsgraph ran once?

Think it's fine. There are other special cases in special_aftertrans_update which does DEG tag as well, so seems this is indeed how it's supposed to be.

This revision is now accepted and ready to land.May 25 2020, 11:22 AM