Fix #139199: Grease Pencil: Update compositor node when pass is toggled
Compositor node sockets should be updated when toggling grease pencil pass in the pass list. It was missing a `rna_ViewLayer_pass_update`, now it will work as expected. Pull Request: https://projects.blender.org/blender/blender/pulls/139215
This commit is contained in:
@@ -688,7 +688,7 @@ void RNA_def_view_layer(BlenderRNA *brna)
|
||||
prop, nullptr, "grease_pencil_flags", GREASE_PENCIL_AS_SEPARATE_PASS);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Grease Pencil", "Deliver Grease Pencil render result in a separate pass");
|
||||
RNA_def_property_update(prop, NC_SCENE | ND_LAYER, nullptr);
|
||||
RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, "rna_ViewLayer_pass_update");
|
||||
|
||||
/* debug update routine */
|
||||
func = RNA_def_function(srna, "update", "rna_ViewLayer_update_tagged");
|
||||
|
||||
Reference in New Issue
Block a user