diff --git a/zou/app/services/projects_service.py b/zou/app/services/projects_service.py index 99841b88b..fcb4cb764 100644 --- a/zou/app/services/projects_service.py +++ b/zou/app/services/projects_service.py @@ -678,7 +678,7 @@ def get_project_fps(project_id): Return fps set at project level or default fps if it not set. """ project = get_project(project_id) - return float(project["fps"] or "24.00") + return float(project["fps"] or "25.00") def get_task_type_priority_map(project_id, for_entity="Asset"): diff --git a/zou/app/services/shots_service.py b/zou/app/services/shots_service.py index ede6e6c10..1c0afed35 100644 --- a/zou/app/services/shots_service.py +++ b/zou/app/services/shots_service.py @@ -1663,7 +1663,7 @@ def set_frames_from_task_type_preview_files( project = projects_service.get_project(project_id) updates = [] for shot, preview_duration in results: - nb_frames = round(preview_duration * int(project["fps"])) + nb_frames = round(preview_duration * float(project["fps"])) updates.append( { "id": shot.id,