Fix T76780: Freestyle pass for one scene not accessible in compositor in other scenes
Current implementation would update the nodetree of the freestyle scene not the composite scene. Reviewed By: Dalai Felinto Differential Revision: https://developer.blender.org/D7770
This commit is contained in:
parent
fc06c248ed
commit
888427cabb
Notes:
blender-bot
2024-01-16 18:05:25 +01:00
Referenced by issue #76780, Freestyle pass for one scene not accessible in compositor in other scenes
|
@ -311,8 +311,7 @@ static void cmp_node_rlayer_create_outputs(bNodeTree *ntree,
|
|||
|
||||
if ((scene->r.mode & R_EDGE_FRS) &&
|
||||
(view_layer->freestyle_config.flags & FREESTYLE_AS_RENDER_PASS)) {
|
||||
ntreeCompositRegisterPass(
|
||||
scene->nodetree, scene, view_layer, RE_PASSNAME_FREESTYLE, SOCK_RGBA);
|
||||
ntreeCompositRegisterPass(ntree, scene, view_layer, RE_PASSNAME_FREESTYLE, SOCK_RGBA);
|
||||
}
|
||||
|
||||
MEM_freeN(data);
|
||||
|
|
Loading…
Reference in New Issue