[Bf-blender-cvs] [6aa972ebd4] master: Fix/workaround T51007: Material viewport mode crash on node with more than 64 outputs

Sergey Sharybin noreply at git.blender.org
Fri Mar 24 14:37:13 CET 2017


Commit: 6aa972ebd466fea581c62c8981c020861becd714
Author: Sergey Sharybin
Date:   Fri Mar 24 14:36:00 2017 +0100
Branches: master
https://developer.blender.org/rB6aa972ebd466fea581c62c8981c020861becd714

Fix/workaround T51007: Material viewport mode crash on node with more than 64 outputs

Ideally we need to find a way to remove such a static limit here, but it's not so
trivial to implement for texture nodes. Requires some bigger system redesign there.

Just raising limit for now, which is fine for modern systems.

===================================================================

M	source/blender/blenkernel/BKE_node.h

===================================================================

diff --git a/source/blender/blenkernel/BKE_node.h b/source/blender/blenkernel/BKE_node.h
index 546f0d97c2..193f1154c5 100644
--- a/source/blender/blenkernel/BKE_node.h
+++ b/source/blender/blenkernel/BKE_node.h
@@ -49,7 +49,7 @@
 #include "RNA_types.h"
 
 /* not very important, but the stack solver likes to know a maximum */
-#define MAX_SOCKET	64
+#define MAX_SOCKET	512
 
 struct bContext;
 struct bNode;




More information about the Bf-blender-cvs mailing list