Blender Kitsu: Refactor Shot Builder #183
@ -61,8 +61,8 @@ 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 = int(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 = int(resolution[0])
|
scene.render.resolution_x = int(resolution[0])
|
||||||
scene.render.resolution_x = int(resolution[1])
|
scene.render.resolution_y = int(resolution[1])
|
||||||
scene.render.resolution_percentage = 100
|
scene.render.resolution_percentage = 100
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user