diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2021-06-06 17:02:56 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2021-06-06 17:02:56 +0300 |
commit | ad3d5b5ff6967829b483b05ee99a7570a324014b (patch) | |
tree | 3f6c803301719af3ea0d30dec21f3784207c7dfb /source/blender/makesrna | |
parent | 247198644088fd5d02a909b2e06c21e561b8e5b7 (diff) | |
parent | 7ef2b760dc233d61a2350e20d4e65cb76dbb9311 (diff) |
Merge branch 'master' into eevee-gpencileevee-gpencil
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_sequencer.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c index 41b60bed5bb..9851d65ece3 100644 --- a/source/blender/makesrna/intern/rna_sequencer.c +++ b/source/blender/makesrna/intern/rna_sequencer.c @@ -440,8 +440,7 @@ static void rna_Sequence_frame_length_set(PointerRNA *ptr, int value) Scene *scene = (Scene *)ptr->owner_id; SEQ_relations_invalidate_cache_composite(scene, seq); - SEQ_transform_set_right_handle_frame(seq, - SEQ_transform_get_left_handle_frame(seq, false) + value); + SEQ_transform_set_right_handle_frame(seq, SEQ_transform_get_left_handle_frame(seq) + value); do_sequence_frame_change_update(scene, seq); SEQ_relations_invalidate_cache_composite(scene, seq); } @@ -449,8 +448,7 @@ static void rna_Sequence_frame_length_set(PointerRNA *ptr, int value) static int rna_Sequence_frame_length_get(PointerRNA *ptr) { Sequence *seq = (Sequence *)ptr->data; - return SEQ_transform_get_right_handle_frame(seq, false) - - SEQ_transform_get_left_handle_frame(seq, false); + return SEQ_transform_get_right_handle_frame(seq) - SEQ_transform_get_left_handle_frame(seq); } static int rna_Sequence_frame_editable(PointerRNA *ptr, const char **UNUSED(r_info)) |