mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
add flag attribute to render creator
This commit is contained in:
parent
d7aba60460
commit
5322527226
1 changed files with 7 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ class CreateRender(plugin.Creator):
|
|||
label = "Render"
|
||||
family = "rendering"
|
||||
icon = "eye"
|
||||
|
||||
enable_all_lights = True
|
||||
_token = None
|
||||
_user = None
|
||||
_password = None
|
||||
|
|
@ -220,6 +220,12 @@ class CreateRender(plugin.Creator):
|
|||
self.data["tilesY"] = 2
|
||||
self.data["convertToScanline"] = False
|
||||
self.data["useReferencedAovs"] = False
|
||||
self.data["renderSetupIncludeLights"] = (
|
||||
self._project_settings.get(
|
||||
"maya", {}).get(
|
||||
"RenderSettings", {}).get(
|
||||
"enable_all_lights", {})
|
||||
)
|
||||
# Disable for now as this feature is not working yet
|
||||
# self.data["assScene"] = False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue