Blender Kitsu: Refactor Shot Builder #183

Merged
Nick Alberelli merged 55 commits from TinyNick/blender-studio-pipeline:feature/shot-builder-2 into main 2023-12-21 23:58:21 +01:00
Showing only changes of commit 70417efcb3 - Show all commits

View File

@ -63,10 +63,10 @@ def set_shot_scene(scene_name: str) -> bpy.types.Scene:
def set_resolution_and_fps(project: Project, scene: bpy.types.Scene): def set_resolution_and_fps(project: Project, scene: bpy.types.Scene):
scene.render.fps = project.fps # set fps scene.render.fps = int(project.fps) # set fps
resolution = project.resolution.split('x') resolution = project.resolution.split('x')
scene.render.resolution_y = resolution[0] scene.render.resolution_y = int(resolution[0])
scene.render.resolution_x = resolution[1] scene.render.resolution_x = int(resolution[1])
scene.render.resolution_percentage = 100 scene.render.resolution_percentage = 100