From 537dcf846a26b78c33aa96572f9db2f855dd7d93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 15 Apr 2016 15:08:27 +0200 Subject: [PATCH] No need to manually compute frame_final_start --- blender_cloud/attract/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/blender_cloud/attract/__init__.py b/blender_cloud/attract/__init__.py index 8348268..844a03d 100644 --- a/blender_cloud/attract/__init__.py +++ b/blender_cloud/attract/__init__.py @@ -342,7 +342,8 @@ class AttractShotsOrderUpdate(AttractOperatorMixin, Operator): if strip.atc_object_id] strips_with_atc_object_id.sort( - key=lambda strip: strip.frame_start + strip.frame_offset_start) + key=lambda strip: strip.frame_final_start) + for index, strip in enumerate(strips_with_atc_object_id): """ # Currently we use the code below to force update all nodes.