mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cleanup: VSE: Replace all deprecated properties in internal scripts
This includes `frame_final_start`, `frame_final_end`, and `frame_final_duration`. Pull Request: https://projects.blender.org/blender/blender/pulls/155691
This commit is contained in:
parent
d3077785b4
commit
07cf1ad2fe
2 changed files with 18 additions and 18 deletions
|
|
@ -27,7 +27,7 @@ class AbstractFFmpegSequencerTest(AbstractFFmpegTest):
|
|||
"strip = bpy.context.scene.sequence_editor.strips.new_movie(" \
|
||||
"'test_movie', %r, channel=1, frame_start=1); " \
|
||||
"print(f'fps:{strip.fps}'); " \
|
||||
"print(f'duration:{strip.frame_final_duration}'); " % movie.as_posix()
|
||||
"print(f'duration:{strip.duration}'); " % movie.as_posix()
|
||||
|
||||
def get_movie_file_field(self, filename: pathlib.Path, field: str) -> str:
|
||||
script = self.get_script_for_file(filename)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue