[Bf-blender-cvs] [833353b] master: Freestyle: Fix for a crash in BKE_linestyle_default_shader() due to a typo.
Tamito Kajiyama
noreply at git.blender.org
Tue Aug 12 03:17:28 CEST 2014
Commit: 833353b25e56a36bd890b80e48a313d48f43d549
Author: Tamito Kajiyama
Date: Wed Jul 16 15:42:44 2014 +0900
Branches: master
https://developer.blender.org/rB833353b25e56a36bd890b80e48a313d48f43d549
Freestyle: Fix for a crash in BKE_linestyle_default_shader() due to a typo.
===================================================================
M source/blender/blenkernel/intern/linestyle.c
===================================================================
diff --git a/source/blender/blenkernel/intern/linestyle.c b/source/blender/blenkernel/intern/linestyle.c
index 71e34e4..2080007 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);
More information about the Bf-blender-cvs
mailing list