mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
flame: improving work with presets
This commit is contained in:
parent
9174e437a6
commit
b086680289
1 changed files with 17 additions and 14 deletions
|
|
@ -169,27 +169,30 @@ class ExtractSubsetResources(openpype.api.Extractor):
|
|||
# only keep visible layer where instance segment is child
|
||||
self.hide_others(
|
||||
exporting_clip, segment_name, s_track_name)
|
||||
else:
|
||||
exporting_clip = self.import_clip(clip_path)
|
||||
|
||||
# change in/out marks to timeline in/out
|
||||
in_mark = clip_in
|
||||
out_mark = clip_out
|
||||
# change in/out marks to timeline in/out
|
||||
in_mark = clip_in
|
||||
out_mark = clip_out
|
||||
|
||||
# add xml tags modifications
|
||||
modify_xml_data.update({
|
||||
"exportHandles": True,
|
||||
"nbHandles": handles,
|
||||
"startFrame": frame_start
|
||||
})
|
||||
# add xml tags modifications
|
||||
modify_xml_data.update({
|
||||
"exportHandles": True,
|
||||
"nbHandles": handles,
|
||||
"startFrame": frame_start,
|
||||
"namePattern": (
|
||||
"<segment name>_<shot name>_{}.").format(
|
||||
unique_name)
|
||||
})
|
||||
|
||||
if parsed_comment_attrs:
|
||||
# add any xml overrides collected form segment.comment
|
||||
modify_xml_data.update(instance.data["xml_overrides"])
|
||||
if parsed_comment_attrs:
|
||||
# add any xml overrides collected form segment.comment
|
||||
modify_xml_data.update(instance.data["xml_overrides"])
|
||||
|
||||
self.log.debug("__ modify_xml_data: {}".format(pformat(
|
||||
modify_xml_data
|
||||
)))
|
||||
else:
|
||||
exporting_clip = self.import_clip(clip_path)
|
||||
|
||||
export_kwargs = {}
|
||||
# validate xml preset file is filled
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue