Skip to content

Commit

Permalink
Merge pull request #173 from ynput/bugfix/rr_settings
Browse files Browse the repository at this point in the history
RoyalRender: Fix when no RR addon in bundle
  • Loading branch information
kalisp authored Mar 19, 2024
2 parents fec94a5 + 8cff941 commit fd2a3e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/ayon_core/hosts/maya/plugins/publish/collect_render.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ def process(self, instance):
"colorspaceView": colorspace_data["view"],
}

rr_settings = context.data["project_settings"]["royalrender"]
if rr_settings["enabled"]:
manager = context.data["ayonAddonsManager"]
if manager.get_enabled_addon("royalrender") is not None:
data["rrPathName"] = instance.data.get("rrPathName")
self.log.debug(data["rrPathName"])

Expand Down

0 comments on commit fd2a3e6

Please sign in to comment.