Cleanup: avoid multiplying lists multiple times
Parenthesis are important in this case to avoid creating a list with multiplication, then multiplying it again. Oversight in 58c8c4fde35c158407ca2ba0c0bc099d1455f691.
This commit is contained in:
parent
f167e366da
commit
2d21fc3f5d
@ -539,7 +539,7 @@ class KeyframesCo:
|
||||
|
||||
keyframe_points = fcurve.keyframe_points
|
||||
|
||||
co_buffer = [0] * 2 * len(keyframe_points)
|
||||
co_buffer = [0] * (2 * len(keyframe_points))
|
||||
keyframe_points.foreach_get("co", co_buffer)
|
||||
co_buffer.extend(key_values)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user