diff options
author | Colin Basnett <cmbasnett> | 2022-06-21 15:43:19 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2022-06-21 16:40:45 +0300 |
commit | d90b320444d5addf6dc5473dc0b94c975a2f9479 (patch) | |
tree | 2a60ba444ecbc5b1dccb9351c949dca6c1b9528a /source/blender/render/RE_texture.h | |
parent | 7f3af2aaeea3820543ed228c04ae329e6795a8ac (diff) |
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
Diffstat (limited to 'source/blender/render/RE_texture.h')
0 files changed, 0 insertions, 0 deletions