diff options
author | meta-androcto <meta.androcto1@gmail.com> | 2019-08-11 08:54:11 +0300 |
---|---|---|
committer | meta-androcto <meta.androcto1@gmail.com> | 2019-08-11 08:54:11 +0300 |
commit | 802904cf43da3deed2094520e17a79d8020d372a (patch) | |
tree | e2d3f20be12d63cd1b7ab7457a04f09979111b60 /materials_utils/enum_values.py | |
parent | 1bba102d652cea832ae7da0d1d476739d2e1d8da (diff) |
materials_utils: return to release: T67990 T63750 01d80b8f602f
Diffstat (limited to 'materials_utils/enum_values.py')
-rw-r--r-- | materials_utils/enum_values.py | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/materials_utils/enum_values.py b/materials_utils/enum_values.py new file mode 100644 index 00000000..f7f8f65b --- /dev/null +++ b/materials_utils/enum_values.py @@ -0,0 +1,32 @@ +import bpy + + +mu_override_type_enums = [ + ('OVERRIDE_ALL', "Override all assigned slots", + "Remove any current material slots, and assign the current material"), + ('OVERRIDE_SLOTS', 'Assign material to each slot', + 'Keep the material slots, but assign the selected material in each slot'), + ('APPEND_MATERIAL', 'Append Material', + 'Add the material in a new slot, and assign it to the whole object') +] + +mu_fake_user_set_enums = (('ON', "On", "Enable fake user"), + ('OFF', "Off", "Disable fake user"), + ('TOGGLE', "Toggle", "Toggle fake user")) +mu_fake_user_materials_enums = (('ACTIVE', "Active object", "Materials of active object only"), + ('SELECTED', "Selected objects", "Materials of selected objects"), + ('SCENE', "Scene objects", "Materials of objects in current scene"), + ('USED', "Used", "All materials used by objects"), + ('UNUSED', "Unused", "Currently unused materials"), + ('ALL', "All", "All materials in this blend file")) + +mu_link_to_enums = (('DATA', "Data", "Link the materials to the data"), + ('OBJECT', "Object", "Link the materials to the object"), + ('TOGGLE', "Toggle", "Toggle what the materials are currently linked to")) +mu_link_affect_enums = (('ACTIVE', "Active object", "Materials of active object only"), + ('SELECTED', "Selected objects", "Materials of selected objects"), + ('SCENE', "Scene objects", "Materials of objects in current scene"), + ('ALL', "All", "All materials in this blend file")) + +mu_material_slot_move_enums = (('TOP', "Top", "Move slot to the top"), + ('BOTTOM', "Bottom", "Move slot to the bottom")) |