mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Changed to use module manager
Settings are not necessary, used only to check if there is a RR addon enabled. This seems cleanere.
This commit is contained in:
parent
3227afae7d
commit
8cff941a05
1 changed files with 2 additions and 2 deletions
|
|
@ -290,8 +290,8 @@ class CollectMayaRender(pyblish.api.InstancePlugin):
|
|||
"colorspaceView": colorspace_data["view"],
|
||||
}
|
||||
|
||||
rr_settings = context.data["project_settings"].get("royalrender", {})
|
||||
if rr_settings:
|
||||
manager = context.data["ayonAddonsManager"]
|
||||
if manager.get_enabled_addon("royalrender") is not None:
|
||||
data["rrPathName"] = instance.data.get("rrPathName")
|
||||
self.log.debug(data["rrPathName"])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue