[Bf-blender-cvs] [b1f0e4c2d67] blender2.8: Cleanup: use tuples in python according to feedback

Ines Almeida noreply at git.blender.org
Sat Sep 15 17:35:35 CEST 2018


Commit: b1f0e4c2d673320085cd5e1c68f4f5f814bacede
Author: Ines Almeida
Date:   Sat Sep 15 17:28:20 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBb1f0e4c2d673320085cd5e1c68f4f5f814bacede

Cleanup: use tuples in python according to feedback

===================================================================

M	release/scripts/addons
M	release/scripts/startup/bl_ui/space_node.py

===================================================================

diff --git a/release/scripts/addons b/release/scripts/addons
index 5f7fba0565a..d5ad293372d 160000
--- a/release/scripts/addons
+++ b/release/scripts/addons
@@ -1 +1 @@
-Subproject commit 5f7fba0565a7c9ae93eae31a08fc9bbbd16d333a
+Subproject commit d5ad293372d3a66ea52ec9d307104e3cd62d3cb6
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



More information about the Bf-blender-cvs mailing list