[Bf-blender-cvs] [4bb15c8eecb] master: VSE: Fix audio strips

Dalai Felinto noreply at git.blender.org
Tue Oct 6 14:35:07 CEST 2020


Commit: 4bb15c8eecbf8186a8948ced9349d54c1a8c5e33
Author: Dalai Felinto
Date:   Tue Oct 6 14:09:04 2020 +0200
Branches: master
https://developer.blender.org/rB4bb15c8eecbf8186a8948ced9349d54c1a8c5e33

VSE: Fix audio strips

When sequencer was moved from kernel, the DEFINES based on audaspace
were not moved along.

That means users had no way of creating new audio strips since
BKE_sequencer_add_sound_strip was ifdef'out

===================================================================

M	source/blender/sequencer/CMakeLists.txt

===================================================================

diff --git a/source/blender/sequencer/CMakeLists.txt b/source/blender/sequencer/CMakeLists.txt
index 75b5f2fef64..866eba9ca41 100644
--- a/source/blender/sequencer/CMakeLists.txt
+++ b/source/blender/sequencer/CMakeLists.txt
@@ -53,4 +53,16 @@ set(LIB
   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}")



More information about the Bf-blender-cvs mailing list