diff options
Diffstat (limited to 'source/blender/blenkernel/intern/linestyle.c')
-rw-r--r-- | source/blender/blenkernel/intern/linestyle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/linestyle.c b/source/blender/blenkernel/intern/linestyle.c index 71e34e4f1a7..2080007075b 100644 --- a/source/blender/blenkernel/intern/linestyle.c +++ b/source/blender/blenkernel/intern/linestyle.c @@ -1178,7 +1178,7 @@ void BKE_linestyle_default_shader(const bContext *C, FreestyleLineStyle *linesty nodeSetActive(ntree, input_texure); fromsock = (bNodeSocket *)BLI_findlink(&input_texure->outputs, 0); // Color - tosock = (bNodeSocket *)BLI_findlink(&output_linestyle->outputs, 0); // Color + tosock = (bNodeSocket *)BLI_findlink(&output_linestyle->inputs, 0); // Color nodeAddLink(ntree, input_texure, fromsock, output_linestyle, tosock); ntreeUpdateTree(CTX_data_main(C), ntree); |