This patch adds channel region to VSE timeline area for drawing channel headers. It is synchronizedwith timeline region. 3 basic features are implemented - channel visibility, locking and name. Channel data is stored in `SeqTimelineChannel` which can be top-level owned by `Editing`, or it is owned by meta strip to support nesting. Strip properties are completely independent and channel properties are applied on top of particular strip property, thus overriding it. Implementation is separate from channel regions in other editors. This is mainly because style and topology is quite different in VSE. But also code seems to be much more readable this way. Currently channels use functions similar to VSE timeline to draw background to provide illusion of transparency, but only for background and sfra/efra regions. Great portion of this patch is change from using strip visibility and lock status to include channel state - this is facilitated by functions `SEQ_transform_is_locked` and `SEQ_render_is_muted` Originally this included changes in D14263, but patch was split for easier review. Reviewed By: fsiddi, Severin Differential Revision: https://developer.blender.org/D13836
110 lines
1.9 KiB
CMake
110 lines
1.9 KiB
CMake
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright 2011 Blender Foundation. All rights reserved.
|
|
|
|
set(INC
|
|
.
|
|
intern
|
|
../blenfont
|
|
../blenkernel
|
|
../blenlib
|
|
../blenloader
|
|
../blentranslation
|
|
../depsgraph
|
|
../imbuf
|
|
../makesdna
|
|
../makesrna
|
|
../render
|
|
../windowmanager
|
|
../../../intern/atomic
|
|
../../../intern/clog
|
|
../../../intern/guardedalloc
|
|
|
|
# dna_type_offsets.h
|
|
${CMAKE_CURRENT_BINARY_DIR}/../makesdna/intern
|
|
# RNA_prototypes.h
|
|
${CMAKE_BINARY_DIR}/source/blender/makesrna
|
|
)
|
|
|
|
set(INC_SYS
|
|
|
|
)
|
|
|
|
set(SRC
|
|
SEQ_add.h
|
|
SEQ_animation.h
|
|
SEQ_channels.h
|
|
SEQ_clipboard.h
|
|
SEQ_edit.h
|
|
SEQ_effects.h
|
|
SEQ_iterator.h
|
|
SEQ_modifier.h
|
|
SEQ_prefetch.h
|
|
SEQ_proxy.h
|
|
SEQ_relations.h
|
|
SEQ_render.h
|
|
SEQ_select.h
|
|
SEQ_sequencer.h
|
|
SEQ_sound.h
|
|
SEQ_time.h
|
|
SEQ_transform.h
|
|
SEQ_utils.h
|
|
|
|
intern/animation.c
|
|
intern/channels.c
|
|
intern/clipboard.c
|
|
intern/disk_cache.c
|
|
intern/disk_cache.h
|
|
intern/effects.c
|
|
intern/effects.h
|
|
intern/image_cache.c
|
|
intern/image_cache.h
|
|
intern/iterator.c
|
|
intern/modifier.c
|
|
intern/multiview.c
|
|
intern/multiview.h
|
|
intern/prefetch.c
|
|
intern/prefetch.h
|
|
intern/proxy.c
|
|
intern/proxy.h
|
|
intern/proxy_job.c
|
|
intern/render.c
|
|
intern/render.h
|
|
intern/sequence_lookup.c
|
|
intern/sequencer.c
|
|
intern/sequencer.h
|
|
intern/sound.c
|
|
intern/strip_add.c
|
|
intern/strip_edit.c
|
|
intern/strip_relations.c
|
|
intern/strip_select.c
|
|
intern/strip_time.c
|
|
intern/strip_time.h
|
|
intern/strip_transform.c
|
|
intern/utils.c
|
|
intern/utils.h
|
|
)
|
|
|
|
set(LIB
|
|
bf_blenkernel
|
|
bf_blenlib
|
|
)
|
|
|
|
if(WITH_AUDASPACE)
|
|
add_definitions(-DWITH_AUDASPACE)
|
|
|
|
list(APPEND INC_SYS
|
|
${AUDASPACE_C_INCLUDE_DIRS}
|
|
)
|
|
list(APPEND LIB
|
|
${AUDASPACE_C_LIBRARIES}
|
|
${AUDASPACE_PY_LIBRARIES}
|
|
)
|
|
endif()
|
|
|
|
blender_add_lib(bf_sequencer "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|
|
|
|
# Needed so we can use dna_type_offsets.h.
|
|
add_dependencies(bf_sequencer bf_dna)
|
|
# RNA_prototypes.h
|
|
add_dependencies(bf_sequencer bf_rna)
|