Blender Git Loki
Git Commits -> Revision 2e7e134
Revision 2e7e134 by Sergey Sharybin (master) March 29, 2021, 14:19 (GMT) |
Fix T76872: Mask created after existing keyframe gets broken handles The issue was caused by handles not being written to the new mask spline shape: it was always written as (0, 0), which was making the handle calculation go wrong later on. Solved by allocating a temporary array of bezier points and calculating handles for them. While this is an extra array allocation it is only done for a small amount of points and it is not in the critical code path. Having this as an extra array helps to overcome a limitation of the current mask shape API. Additionally, disable the interpolation for the shape change: the spline is brand new, there is nothing to be interpolated there. |
Commit Details:
Full Hash: 2e7e13442c914a4e9610def67eb199ab40f6b2b1
Parent Commit: 51f8dbe
Lines Changed: +34, -6
1 Modified Path:
/source/blender/editors/mask/mask_add.c (+34, -6) (Diff)