tornavis/source/blender/editors/space_nla
Colin Basnett d90b320444 Fix T97533: Extrapolation of NLA strips outside current view are not rendered
Do a more thorough search for strips that are not visible themselves,
but still influence the viewed time range.

The problem before was that tracks not immediately visible would not be
drawn at all. The strategy for fixing this was to simply include strips
that are visible only because of their extrapolation mode.

To do this, there is now a new function `get_visible_nla_strips` which
gives a first and last `NlaTrack` that needs to  be drawn.

Tagging along with this is the removal of the strip index indicator from
the name on meta tracks. Because of the new structure of the code, it
would incur a performance penalty to restore the previous behavior
(requiring a linear search for the index). Since this number is of
virtually no utility to the user anyways (it has the look & feel of
developer debugging information), this is something I think we can
safely remove without regret.

Reviewed By: sybren

Differential Revision: https://developer.blender.org/D14738
2022-06-21 15:40:45 +02:00
..
CMakeLists.txt RNA: Generate property declerations header, solving msg-bus C++ incompatibility 2022-03-14 16:50:49 +01:00
nla_buttons.c NLA: improve visibility of action & active channel 2022-05-03 12:00:42 +02:00
nla_channels.c Fix T97529: NLA track buttons still work when hidden 2022-05-09 12:15:16 +02:00
nla_draw.c Fix T97533: Extrapolation of NLA strips outside current view are not rendered 2022-06-21 15:40:45 +02:00
nla_edit.c Cleanup: spelling in comments 2022-06-03 15:08:11 +10:00
nla_intern.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
nla_ops.c File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
nla_select.c Fix out of order event handling when calling operators from gizmos 2022-03-11 22:49:47 +11:00
space_nla.c Cleanup: Compilation warnings 2022-03-18 12:07:08 +01:00