diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_linestyle.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_linestyle.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_linestyle.c b/source/blender/makesrna/intern/rna_linestyle.c index 1ef5fb17ed8..936a5e6a53d 100644 --- a/source/blender/makesrna/intern/rna_linestyle.c +++ b/source/blender/makesrna/intern/rna_linestyle.c @@ -377,8 +377,9 @@ static void rna_LineStyle_use_nodes_update(bContext *C, PointerRNA *ptr) { FreestyleLineStyle *linestyle = (FreestyleLineStyle *)ptr->data; - if (linestyle->use_nodes && linestyle->nodetree == NULL) + if (linestyle->use_nodes && linestyle->nodetree == NULL) { BKE_linestyle_default_shader(C, linestyle); + } rna_LineStyle_update(CTX_data_main(C), CTX_data_scene(C), ptr); } |