Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey@blender.org>2021-03-29 17:11:33 +0300
committerSergey Sharybin <sergey@blender.org>2021-03-29 17:19:22 +0300
commit2e7e13442c914a4e9610def67eb199ab40f6b2b1 (patch)
tree269d272cb30c789e95edaf30e2461a502fa75aee /release/scripts/startup/bl_ui/properties_collection.py
parent51f8dbe081f61825c532f5acc3d0918561b6e142 (diff)
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.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_collection.py')
0 files changed, 0 insertions, 0 deletions