diff options
author | Pablo Vazquez <venomgfx@gmail.com> | 2018-11-21 03:25:44 +0300 |
---|---|---|
committer | Pablo Vazquez <venomgfx@gmail.com> | 2018-11-21 03:25:44 +0300 |
commit | d433e9de5cb66148344c965ff62abd9f22f0a0e7 (patch) | |
tree | df49ded1be9b5b625777447fb91245dc34d2c3c6 /release/scripts/startup/bl_ui/space_node.py | |
parent | f021536babbb377c34a073f47038f0f3bab25bca (diff) |
UI: Icon and separator for Add Node (Search).
Diffstat (limited to 'release/scripts/startup/bl_ui/space_node.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_node.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_node.py b/release/scripts/startup/bl_ui/space_node.py index 26b52617616..05100f07cdd 100644 --- a/release/scripts/startup/bl_ui/space_node.py +++ b/release/scripts/startup/bl_ui/space_node.py @@ -180,9 +180,11 @@ class NODE_MT_add(bpy.types.Menu): layout = self.layout layout.operator_context = 'INVOKE_DEFAULT' - props = layout.operator("node.add_search", text="Search ...") + props = layout.operator("node.add_search", text="Search...", icon="VIEWZOOM") props.use_transform = True + layout.separator() + # actual node submenus are defined by draw functions from node categories nodeitems_utils.draw_node_categories_menu(self, context) |