Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2006-07-03 11:00:08 +0400
committerMatt Ebb <matt@mke3.net>2006-07-03 11:00:08 +0400
commit4ca0e9070a9d6bcfe3ad4dbe734971c5fd98c92d (patch)
tree2df61434d9b5a5e7577f53133b26477c724b3160 /source
parent3b1a592fb7a4ce3fb0582bcdf0472eef43b9778c (diff)
* Fix: Shading nodes 'value' and 'RGB' were still set to the old node class
Generators' so they didn't appear in the add menu under 'Input' where they should be.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/node_shaders.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/node_shaders.c b/source/blender/blenkernel/intern/node_shaders.c
index e810355f865..25437b89a02 100644
--- a/source/blender/blenkernel/intern/node_shaders.c
+++ b/source/blender/blenkernel/intern/node_shaders.c
@@ -559,7 +559,7 @@ static bNodeType sh_node_value= {
/* type code */ SH_NODE_VALUE,
/* name */ "Value",
/* width+range */ 80, 40, 120,
- /* class+opts */ NODE_CLASS_GENERATOR, NODE_OPTIONS,
+ /* class+opts */ NODE_CLASS_INPUT, NODE_OPTIONS,
/* input sock */ NULL,
/* output sock */ sh_node_value_out,
/* storage */ "",
@@ -584,7 +584,7 @@ static bNodeType sh_node_rgb= {
/* type code */ SH_NODE_RGB,
/* name */ "RGB",
/* width+range */ 100, 60, 140,
- /* class+opts */ NODE_CLASS_GENERATOR, NODE_OPTIONS,
+ /* class+opts */ NODE_CLASS_INPUT, NODE_OPTIONS,
/* input sock */ NULL,
/* output sock */ sh_node_rgb_out,
/* storage */ "",