From baac86f59bee6ae112ea809a86a49466e6303117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 30 Sep 2016 13:58:31 +0200 Subject: [PATCH] New shots should start with 'todo' status. In a later version this default status should either be set server-side and returned in the POST response, or be taken from the project definition by this add-on. --- 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 4464cfb..cf175c8 100644 --- a/blender_cloud/attract/__init__.py +++ b/blender_cloud/attract/__init__.py @@ -164,7 +164,7 @@ class AttractOperatorMixin: prop = {'name': strip.name, 'description': '', - 'properties': {'status': 'on_hold', + 'properties': {'status': 'todo', 'notes': '', 'trim_start_in_frames': strip.frame_offset_start, 'duration_in_edit_in_frames': strip.frame_final_duration, @@ -188,6 +188,7 @@ class AttractOperatorMixin: strip.atc_name = node['name'] strip.atc_description = node['description'] strip.atc_notes = node['properties']['notes'] + strip.atc_status = node['properties']['status'] draw.tag_redraw_all_sequencer_editors()