Blender Git Loki

Git Commits -> Revision d4c452f

Revision d4c452f by Philipp Oeser (master)
October 7, 2019, 10:26 (GMT)
Fix T70573: Crash on enter Cycles render preview with 'Scene world'
disabled and no world assigned to scene

BlenderSync::sync_world still relied on a blender world (mixes the world
viewport color with the studio light), for now just take black if no
world is present.

Maybe we should we use the theme color in the future here (seems eevee
does this in that case) -- we'd have to pass down `b_userpref` from
`BlenderSession::render` down to `sync_data > sync_shaders > sync_world`
then afaics.

Reviewed By: jbakker, brecht

Maniphest Tasks: T70573

Differential Revision: https://developer.blender.org/D6005

Commit Details:

Full Hash: d4c452ff3918be8204b7b6bb32fae2cfdc375939
Parent Commit: 60f0a94
Lines Changed: +10, -2

1 Modified Path:

/intern/cycles/blender/blender_shader.cpp (+10, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021