mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
bug fix on the project setting being errored out when passing through the validator and extractor
This commit is contained in:
parent
b1c4e0d505
commit
7dfc32f66c
2 changed files with 3 additions and 2 deletions
|
|
@ -36,6 +36,7 @@ class ExtractPointCloud(publish.Extractor):
|
|||
label = "Extract Point Cloud"
|
||||
hosts = ["max"]
|
||||
families = ["pointcloud"]
|
||||
settings = []
|
||||
|
||||
def process(self, instance):
|
||||
self.settings = self.get_setting(instance)
|
||||
|
|
|
|||
|
|
@ -100,8 +100,8 @@ class ValidatePointCloud(pyblish.api.InstancePlugin):
|
|||
|
||||
selection_list = instance.data["members"]
|
||||
|
||||
project_setting = instance.data["project_setting"]
|
||||
attr_settings = project_setting["max"]["PointCloud"]["attribute"]
|
||||
project_settings = instance.context.data["project_settings"]
|
||||
attr_settings = project_settings["max"]["PointCloud"]["attribute"]
|
||||
for sel in selection_list:
|
||||
obj = sel.baseobject
|
||||
anim_names = rt.GetSubAnimNames(obj)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue