feat(nukestudio): updating Tag workflow

This commit is contained in:
Jakub Jezek 2019-05-28 11:44:20 +02:00
parent b7d5f5243f
commit f4090a33f0
19 changed files with 6 additions and 12 deletions

View file

@ -37,11 +37,11 @@ def update_tag(tag, value):
"""
tag.setNote(value['note'])
tag.setIcon(value['icon']['path'])
tag.setIcon(str(value['icon']['path']))
mtd = tag.metadata()
pres_mtd = value.get('metadata', None)
if pres_mtd:
[mtd.setValue("tag.{}".format(k), v)
[mtd.setValue("tag.{}".format(str(k)), str(v))
for k, v in pres_mtd.items()]
return tag

View file

@ -35,18 +35,12 @@ class CollectClipHandles(api.InstancePlugin):
t_args = json.loads(t_args.replace("'", "\""))
# add in start
if 'start' in t_args['where']:
hs = instance.data.get('handle_start')
if not hs:
instance.data['handle_start'] = 0
instance.data['handle_start'] += t_value
instance.data["handleStart"] += t_value
self.log.info("Collected Handle Start: `{}`".format(
instance.data['handle_start']))
instance.data["handleStart"]))
# add in end
if 'end' in t_args['where']:
hs = instance.data.get('handle_end')
if not hs:
instance.data['handle_end'] = 0
instance.data['handle_end'] += t_value
instance.data["handleEnd"] += t_value
self.log.info("Collected Handle End: `{}`".format(
instance.data['handle_end']))
instance.data["handleEnd"]))

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 96 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 70 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB