mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
flame: add xml_overrides to extracting profiles
This commit is contained in:
parent
d408139bb7
commit
48ce34c58e
1 changed files with 8 additions and 0 deletions
|
|
@ -1,9 +1,11 @@
|
|||
import os
|
||||
from pprint import pformat
|
||||
from copy import deepcopy
|
||||
|
||||
import pyblish.api
|
||||
import openpype.api
|
||||
from openpype.hosts.flame import api as opfapi
|
||||
from pprint import pformat
|
||||
|
||||
|
||||
class ExtractSubsetResources(openpype.api.Extractor):
|
||||
|
|
@ -131,6 +133,12 @@ class ExtractSubsetResources(openpype.api.Extractor):
|
|||
"startFrame": frame_start
|
||||
})
|
||||
|
||||
# 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
|
||||
)))
|
||||
|
||||
# with maintained duplication loop all presets
|
||||
with opfapi.maintained_object_duplication(
|
||||
exporting_clip) as duplclip:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue