Page MenuHome

Breakdown Implementation
ClosedPublic

Authored by Christoph Lendenfeld (ChrisLend) on Oct 28 2020, 4:49 PM.
Tokens
"Like" token, awarded by shader."Love" token, awarded by Stan1."Like" token, awarded by erickblender."Love" token, awarded by Juangra_Membata.

Details

Summary

This patch adds the breakdown (or tween) functionality to the graph editor.

The factor defines the linear interpolation from left key to right key.

Diff Detail

Repository
rB Blender

Event Timeline

Christoph Lendenfeld (ChrisLend) requested review of this revision.Oct 28 2020, 4:49 PM
Christoph Lendenfeld (ChrisLend) created this revision.
Sybren A. Stüvel (sybren) requested changes to this revision.Dec 13 2021, 4:01 PM

LGTM apart from the memory leak. The code will likely also have to be updated based on the change I mentioned in D13531.

source/blender/editors/space_graph/graph_slider_ops.c
806–810

I think this has the same memory leak as in D9374, add a call to BLI_freelistN(&segments);

This revision now requires changes to proceed.Dec 13 2021, 4:01 PM
  • fix memory leak
  • adapt way of getting segment list after changes to D13531
  • pass FCurveSegment
This revision is now accepted and ready to land.Dec 17 2021, 5:51 PM
This revision was automatically updated to reflect the committed changes.