Ref: #132179 Renames: - `Editing.act_seq` -> `Editing.act_strip` - `SequenceModifierData` -> `StripModifierData` - Its member `mask_sequence` is now `mask_strip`. - `MetaStack.parseq` -> `MetaStack.parent_strip` - Remaining function names/parameters that were not dealt with in #132748 - Various references to `seq` or `sequence` throughout code and docs when referring to a strip Also moves `_get` to the end of the renamed function names where applicable for standardization (unless "by" or "from" are used). There should be no changes to current behavior. Pull Request: https://projects.blender.org/blender/blender/pulls/138077
37 lines
871 B
C++
37 lines
871 B
C++
/* SPDX-FileCopyrightText: 2004 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#pragma once
|
|
|
|
/** \file
|
|
* \ingroup sequencer
|
|
*/
|
|
|
|
#include "BLI_span.hh"
|
|
|
|
struct Scene;
|
|
struct Strip;
|
|
struct StripProxy;
|
|
|
|
namespace blender::seq {
|
|
|
|
/**
|
|
* Cache must be freed before calling this function
|
|
* since it leaves the #Editing::seqbase in an invalid state.
|
|
*/
|
|
void seq_free_strip_recurse(Scene *scene, Strip *strip, bool do_id_user);
|
|
StripProxy *seq_strip_proxy_alloc();
|
|
/**
|
|
* Find effect strips, that use strip `strip` as one of inputs.
|
|
* If lookup hash doesn't exist, it will be created. If hash is tagged as invalid, it will be
|
|
* rebuilt.
|
|
*
|
|
* \param key: pointer to Strip inside of meta strip
|
|
*
|
|
* \return collection of effect strips
|
|
*/
|
|
blender::Span<Strip *> SEQ_lookup_effects_by_strip(Editing *ed, const Strip *key);
|
|
|
|
} // namespace blender::seq
|