mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Use project settings by default.
This commit is contained in:
parent
67b95c218b
commit
ae496b9712
3 changed files with 7 additions and 3 deletions
|
|
@ -113,7 +113,9 @@ FLOAT_FPS = {23.98, 23.976, 29.97, 47.952, 59.94}
|
|||
|
||||
RENDERLIKE_INSTANCE_FAMILIES = ["rendering", "vrayscene"]
|
||||
|
||||
DISPLAY_LIGHTS = ["default", "all", "selected", "active", "none"]
|
||||
DISPLAY_LIGHTS = [
|
||||
"project_settings", "default", "all", "selected", "active", "none"
|
||||
]
|
||||
|
||||
|
||||
def get_main_window():
|
||||
|
|
|
|||
|
|
@ -100,7 +100,8 @@ class ExtractPlayblast(publish.Extractor):
|
|||
|
||||
# Show lighting mode.
|
||||
display_lights = instance.data["displayLights"]
|
||||
preset["viewport_options"]["displayLights"] = display_lights
|
||||
if display_lights != "project_settings":
|
||||
preset["viewport_options"]["displayLights"] = display_lights
|
||||
|
||||
# Override transparency if requested.
|
||||
transparency = instance.data.get("transparency", 0)
|
||||
|
|
|
|||
|
|
@ -107,7 +107,8 @@ class ExtractThumbnail(publish.Extractor):
|
|||
|
||||
# Show lighting mode.
|
||||
display_lights = instance.data["displayLights"]
|
||||
preset["viewport_options"]["displayLights"] = display_lights
|
||||
if display_lights != "project_settings":
|
||||
preset["viewport_options"]["displayLights"] = display_lights
|
||||
|
||||
# Override transparency if requested.
|
||||
transparency = instance.data.get("transparency", 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue