diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2022-03-30 15:00:00 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2022-03-31 13:59:33 +0300 |
commit | ccecd97c8c41e32f0c4212c48195f80163e850ab (patch) | |
tree | 74e2ddeb9fc62a335d825676cef72ac90dfef4b6 /source/blender/editors | |
parent | b20b672e76b882887d49d573a780b2f5e3858156 (diff) |
Compositor: Fix Missing output UI for Normal node
There were multiple issues at hand here:
- The default value has been changed to `{0, 0, 1}` see: rB25f1783673de636a6f0ca4457df8c05bc685981a
- The output needs the subtype set `PROP_DIRECTION`
- The noder properties were missing in `node_composit_set_butfunc`
Fixes T96860
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_node/drawnode.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_node/drawnode.cc b/source/blender/editors/space_node/drawnode.cc index 30f2cc970bd..e3bf656ddb4 100644 --- a/source/blender/editors/space_node/drawnode.cc +++ b/source/blender/editors/space_node/drawnode.cc @@ -797,6 +797,9 @@ static void node_composit_set_butfunc(bNodeType *ntype) ntype->draw_buttons = node_composit_buts_image; ntype->draw_buttons_ex = node_composit_buts_image_ex; break; + case CMP_NODE_NORMAL: + ntype->draw_buttons = node_buts_normal; + break; case CMP_NODE_CURVE_RGB: ntype->draw_buttons = node_buts_curvecol; break; |