diff options
author | Campbell Barton <campbell@blender.org> | 2022-06-28 03:13:06 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-06-28 03:13:24 +0300 |
commit | 65f4f506404f42ef0e2ad8b089ba82cb1d63f579 (patch) | |
tree | 61aa72c7642c02dc1bda3c0a3ae179516dcbbd27 /source/blender/makesrna/intern/rna_sequencer.c | |
parent | 7a44f62bdb60b1fb302e7948ef661f076364d3f2 (diff) |
Cleanup: compiler warnings, remove unused functions
Diffstat (limited to 'source/blender/makesrna/intern/rna_sequencer.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_sequencer.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c index 1c7ca8656fd..9edf17614c8 100644 --- a/source/blender/makesrna/intern/rna_sequencer.c +++ b/source/blender/makesrna/intern/rna_sequencer.c @@ -332,28 +332,6 @@ static void rna_Sequence_start_frame_set(PointerRNA *ptr, int value) SEQ_relations_invalidate_cache_composite(scene, seq); } -static void rna_Sequence_start_frame_final_set(PointerRNA *ptr, int value) -{ - Sequence *seq = (Sequence *)ptr->data; - Scene *scene = (Scene *)ptr->owner_id; - - SEQ_time_left_handle_frame_set(scene, seq, value); - SEQ_transform_fix_single_image_seq_offsets(scene, seq); - do_sequence_frame_change_update(scene, seq); - SEQ_relations_invalidate_cache_composite(scene, seq); -} - -static void rna_Sequence_end_frame_final_set(PointerRNA *ptr, int value) -{ - Sequence *seq = (Sequence *)ptr->data; - Scene *scene = (Scene *)ptr->owner_id; - - SEQ_time_right_handle_frame_set(scene, seq, value); - SEQ_transform_fix_single_image_seq_offsets(scene, seq); - do_sequence_frame_change_update(scene, seq); - SEQ_relations_invalidate_cache_composite(scene, seq); -} - static void rna_Sequence_frame_offset_start_set(PointerRNA *ptr, int value) { Sequence *seq = (Sequence *)ptr->data; @@ -1989,8 +1967,6 @@ static void rna_def_sequence(BlenderRNA *brna) "Start frame displayed in the sequence editor after offsets are applied, setting this is " "equivalent to moving the handle, not the actual start frame"); /* overlap tests and calc_seq_disp */ - RNA_def_property_int_funcs(prop, NULL, "rna_Sequence_start_frame_final_set", NULL); - RNA_def_property_editable_func(prop, "rna_Sequence_frame_editable"); RNA_def_property_update( prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_invalidate_preprocessed_update"); @@ -2001,8 +1977,6 @@ static void rna_def_sequence(BlenderRNA *brna) RNA_def_property_ui_text( prop, "End Frame", "End frame displayed in the sequence editor after offsets are applied"); /* overlap tests and calc_seq_disp */ - RNA_def_property_int_funcs(prop, NULL, "rna_Sequence_end_frame_final_set", NULL); - RNA_def_property_editable_func(prop, "rna_Sequence_frame_editable"); RNA_def_property_update( prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_invalidate_preprocessed_update"); |