feat(nukestudio): updating Tag workflow
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"]))
|
||||
|
|
|
|||
BIN
setup/nukestudio/hiero_plugin_path/Icons/1_add_handles_end.png
Normal file
|
After Width: | Height: | Size: 199 KiB |
|
Before Width: | Height: | Size: 23 KiB |
BIN
setup/nukestudio/hiero_plugin_path/Icons/2_add_handles.png
Normal file
|
After Width: | Height: | Size: 215 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 96 KiB |
BIN
setup/nukestudio/hiero_plugin_path/Icons/3_add_handles_start.png
Normal file
|
After Width: | Height: | Size: 194 KiB |
BIN
setup/nukestudio/hiero_plugin_path/Icons/4_2D.png
Normal file
|
After Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 73 KiB |
BIN
setup/nukestudio/hiero_plugin_path/Icons/lense.png
Normal file
|
After Width: | Height: | Size: 103 KiB |
BIN
setup/nukestudio/hiero_plugin_path/Icons/lense1.png
Normal file
|
After Width: | Height: | Size: 124 KiB |
BIN
setup/nukestudio/hiero_plugin_path/Icons/z_layer_bg.png
Normal file
|
After Width: | Height: | Size: 87 KiB |
BIN
setup/nukestudio/hiero_plugin_path/Icons/z_layer_fg.png
Normal file
|
After Width: | Height: | Size: 71 KiB |
BIN
setup/nukestudio/hiero_plugin_path/Icons/z_layer_main.png
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
setup/nukestudio/hiero_plugin_path/Icons/z_layers.png
Normal file
|
After Width: | Height: | Size: 87 KiB |