mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix: Compositor: Set String Case node missing in Add/Swap menu
This patch adds `Set String Case` to the Compositor Add/Swap menus. When it was made, compositor functionality was already supported, but it wasn't exposed in the menus. No changes to the node's functionality have been made. Pull Request: https://projects.blender.org/blender/blender/pulls/160940
This commit is contained in:
parent
6d02d4d9de
commit
a480c0a26f
1 changed files with 4 additions and 1 deletions
|
|
@ -367,12 +367,15 @@ class NODE_MT_compositor_node_text_base(node_add_menu.NodeMenu):
|
|||
bl_label = "Text"
|
||||
menu_path = "Utilities/Text"
|
||||
|
||||
def draw(self, _context):
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
self.node_operator(layout, "FunctionNodeFormatString")
|
||||
self.node_operator(layout, "FunctionNodeMatchString")
|
||||
self.node_operator(layout, "FunctionNodeReplaceString")
|
||||
self.node_operator(layout, "FunctionNodeReverseString")
|
||||
self.node_operator_with_searchable_enum_socket(
|
||||
context, layout, "FunctionNodeSetStringCase", "Case", ["Uppercase", "Lowercase"],
|
||||
)
|
||||
self.node_operator(layout, "FunctionNodeSliceString")
|
||||
self.node_operator(layout, "FunctionNodeTrimString")
|
||||
layout.separator()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue