UI: Add Mix Node to color section of add node menu
This adds back the new mix node to the Color sections of the add node menu. The add menu now contains two entries for the mix node. One under Utilites/Converter which defaults for float. One under Color which defaults to color with `Mix Color` label. This was moved as part of D13749. The issue was reported on BlenderArtists. Differential Revision: https://developer.blender.org/D15887
This commit is contained in:
parent
7518d30f2a
commit
e1a9c16176
|
@ -424,6 +424,7 @@ shader_node_categories = [
|
|||
NodeItem("ShaderNodeTexWhiteNoise"),
|
||||
]),
|
||||
ShaderNodeCategory("SH_NEW_OP_COLOR", "Color", items=[
|
||||
NodeItem("ShaderNodeMix", label="Mix Color", settings={"data_type": "'RGBA'"}),
|
||||
NodeItem("ShaderNodeRGBCurve"),
|
||||
NodeItem("ShaderNodeInvert"),
|
||||
NodeItem("ShaderNodeLightFalloff"),
|
||||
|
@ -651,6 +652,7 @@ geometry_node_categories = [
|
|||
NodeItem("GeometryNodeStoreNamedAttribute"),
|
||||
]),
|
||||
GeometryNodeCategory("GEO_COLOR", "Color", items=[
|
||||
NodeItem("ShaderNodeMix", label="Mix Color", settings={"data_type": "'RGBA'"}),
|
||||
NodeItem("ShaderNodeRGBCurve"),
|
||||
NodeItem("ShaderNodeValToRGB"),
|
||||
NodeItem("FunctionNodeSeparateColor"),
|
||||
|
|
Loading…
Reference in New Issue