Fix T101523: Cycles path guiding debug settings not affecting final render

This commit is contained in:
Brecht Van Lommel 2022-10-05 19:30:44 +02:00
parent 829569dccf
commit 124df79e78
Notes: blender-bot 2023-02-14 06:27:47 +01:00
Referenced by issue #101523, Path-guiding settings are ignored when rendering
1 changed files with 2 additions and 1 deletions

View File

@ -60,7 +60,8 @@ BlenderSession::BlenderSession(BL::RenderEngine &b_engine,
height(0),
preview_osl(preview_osl),
python_thread_state(NULL),
use_developer_ui(false)
use_developer_ui(b_userpref.experimental().use_cycles_debug() &&
b_userpref.view().show_developer_ui())
{
/* offline render */
background = true;