Skip to content

Commit

Permalink
finalize sync with current openmfx master
Browse files Browse the repository at this point in the history
  • Loading branch information
eliemichel committed Nov 6, 2022
1 parent 227097d commit d8592ce
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion intern/openmfx/blender/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ get_target_property(INC OpenMfx::Sdk::Cpp::Host INCLUDE_DIRECTORIES)
list(APPEND OPENMFX_SDK_INCLUDES ${INC})
get_target_property(INC OpenMfx::Sdk::Cpp::Common INCLUDE_DIRECTORIES)
list(APPEND OPENMFX_SDK_INCLUDES ${INC})
get_target_property(INC OpenMfx::Core INCLUDE_DIRECTORIES)
get_target_property(INC OpenMfx::Core INTERFACE_INCLUDE_DIRECTORIES)
list(APPEND OPENMFX_SDK_INCLUDES ${INC})
list(REMOVE_DUPLICATES OPENMFX_SDK_INCLUDES)

Expand Down
2 changes: 1 addition & 1 deletion intern/openmfx/sdk/cpp/common/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
file(GLOB SRC src/*.cpp src/*.h)
file(GLOB SRC src/*.cpp src/*.c src/*.h)
add_library(OpenMfx_Sdk_Cpp_Common ${SRC})

target_include_directories(
Expand Down
2 changes: 0 additions & 2 deletions source/blender/makesrna/intern/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,6 @@ set(SRC
set(INC
../../../../intern/clog
../../../../intern/openmfx/blender
../../../../intern/openmfx/host
../../../../intern/openmfx/openfx

# Needed for defaults forward declarations.
../../blenloader
Expand Down
5 changes: 2 additions & 3 deletions source/blender/makesrna/intern/rna_sequencer_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,7 @@ static Sequence *rna_Sequences_new_movie(ID *id,
SEQ_add_load_data_init(&load_data, name, file, frame_start, channel);
load_data.fit_method = fit_method;
load_data.allow_invalid_file = true;
double video_start_offset;
Sequence *seq = SEQ_add_movie_strip(bmain, scene, seqbase, &load_data, &video_start_offset);
Sequence *seq = SEQ_add_movie_strip(bmain, scene, seqbase, &load_data);

DEG_relations_tag_update(bmain);
DEG_id_tag_update(&scene->id, ID_RECALC_SEQUENCER_STRIPS);
Expand Down Expand Up @@ -357,7 +356,7 @@ static Sequence *rna_Sequences_new_sound(ID *id,
SeqLoadData load_data;
SEQ_add_load_data_init(&load_data, name, file, frame_start, channel);
load_data.allow_invalid_file = true;
Sequence *seq = SEQ_add_sound_strip(bmain, scene, seqbase, &load_data, 0.0f);
Sequence *seq = SEQ_add_sound_strip(bmain, scene, seqbase, &load_data);

if (seq == NULL) {
BKE_report(reports, RPT_ERROR, "Sequences.new_sound: unable to open sound file");
Expand Down

0 comments on commit d8592ce

Please sign in to comment.