diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-03-24 16:36:00 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-03-24 16:36:00 +0300 |
commit | 6aa972ebd466fea581c62c8981c020861becd714 (patch) | |
tree | 0fd3a84fc6c2d9f414266377236d70084f2cc0f4 /source/blender/blenkernel/BKE_node.h | |
parent | 467d824f805ab88bad63a6cef3e57113ba5a3b2b (diff) |
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.
Diffstat (limited to 'source/blender/blenkernel/BKE_node.h')
-rw-r--r-- | source/blender/blenkernel/BKE_node.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_node.h b/source/blender/blenkernel/BKE_node.h index 546f0d97c2b..193f1154c54 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; |