Implement Trim End

This commit is contained in:
Dalai Felinto
2016-11-10 18:51:06 +01:00
parent 389c5c03e1
commit a9b894ed77
3 changed files with 9 additions and 0 deletions

View File

@@ -6,6 +6,10 @@ node_type_shot = {
'trim_start_in_frames': {
'type': 'integer',
},
# How many frames are trimmed after the end of the shot in the edit.
'trim_end_in_frames': {
'type': 'integer',
},
# Duration (of the visible part) of the shot in the edit.
'duration_in_edit_in_frames': {
'type': 'integer',
@@ -43,6 +47,7 @@ task_types = ['layout', 'animation', 'lighting', 'fx', 'rendering']
human_readable_properties = {
'properties.trim_start_in_frames': 'Trim Start',
'properties.trim_end_in_frames': 'Trim End',
'properties.duration_in_edit_in_frames': 'Duration in Edit',
'properties.cut_in_timeline_in_frames': 'Cut-in',
}

View File

@@ -25,6 +25,7 @@ VALID_SHOT_PATCH_FIELDS = {
u'name',
u'picture',
u'properties.trim_start_in_frames',
u'properties.trim_end_in_frames',
u'properties.duration_in_edit_in_frames',
u'properties.cut_in_timeline_in_frames',
u'properties.status',