From 5c94fb5f9c5bbd7b82e14b5af13ab99c8e57beaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 23 Sep 2016 17:14:03 +0200 Subject: [PATCH] Redefined some properties of node type 'attract_shot'. --- attract/node_types/shot.py | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/attract/node_types/shot.py b/attract/node_types/shot.py index 3c15e59..09fc878 100644 --- a/attract/node_types/shot.py +++ b/attract/node_types/shot.py @@ -2,17 +2,17 @@ node_type_shot = { 'name': 'attract_shot', 'description': 'Shot Node Type, for shots', 'dyn_schema': { - # TODO: document what this URL is used for. - 'url': { - 'type': 'string', + # How many frames are trimmed from the start of the shot in the edit. + 'trim_start_in_frames': { + 'type': 'integer', }, - # TODO: document what cut_in means. - 'cut_in': { - 'type': 'integer' + # Duration (of the visible part) of the shot in the edit. + 'duration_in_edit_in_frames': { + 'type': 'integer', }, - # TODO: document what cut_out means. - 'cut_out': { - 'type': 'integer' + # Cut-in time of the shot in the edit (i.e. frame number where it starts to be visible). + 'cut_in_timeline_in_frames': { + 'type': 'integer', }, 'status': { 'type': 'string', @@ -29,13 +29,6 @@ node_type_shot = { 'type': 'string', 'maxlength': 256, }, - 'shot_group': { - 'type': 'string', - #'data_relation': { - # 'resource': 'nodes', - # 'field': '_id', - #}, - }, }, 'form_schema': {}, 'parent': ['scene']