diff options
author | Ines Almeida <britalmeida@gmail.com> | 2018-09-15 18:28:20 +0300 |
---|---|---|
committer | Ines Almeida <britalmeida@gmail.com> | 2018-09-15 18:28:20 +0300 |
commit | b1f0e4c2d673320085cd5e1c68f4f5f814bacede (patch) | |
tree | 7058b272fb1ff789b15d89c4fd97115be403e1cc | |
parent | ca3628ba0c327b730554bb8cb79584ef929c226f (diff) |
Cleanup: use tuples in python according to feedback
m--------- | release/scripts/addons | 0 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_node.py | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/addons b/release/scripts/addons -Subproject 5f7fba0565a7c9ae93eae31a08fc9bbbd16d333 +Subproject d5ad293372d3a66ea52ec9d307104e3cd62d3cb diff --git a/release/scripts/startup/bl_ui/space_node.py b/release/scripts/startup/bl_ui/space_node.py index 4dff94019ab..7fa6d106fb9 100644 --- a/release/scripts/startup/bl_ui/space_node.py +++ b/release/scripts/startup/bl_ui/space_node.py @@ -63,7 +63,7 @@ class NODE_HT_header(Header): layout.separator_spacer() row = layout.row() - types_that_support_material = {'MESH', 'CURVE', 'SURFACE', 'FONT', 'META', 'GPENCIL'} + types_that_support_material = ('MESH', 'CURVE', 'SURFACE', 'FONT', 'META', 'GPENCIL') # disable material slot buttons when pinned, cannot find correct slot within id_from (#36589) # disable also when the selected object does not support materials row.enabled = not snode.pin and ob.type in types_that_support_material |