Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--materials_utils/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/materials_utils/__init__.py b/materials_utils/__init__.py
index ea85a104..d238204d 100644
--- a/materials_utils/__init__.py
+++ b/materials_utils/__init__.py
@@ -2506,7 +2506,7 @@ def check_mat_name_unique(name_id="Material_new"):
def included_object_types(objects):
# Pass the bpy.data.objects.type to avoid needless assigning/removing
# included - type that can have materials
- included = ['MESH', 'CURVE', 'SURFACE', 'FONT', 'META']
+ included = ['MESH', 'CURVE', 'SURFACE', 'FONT', 'META', 'GPENCIL']
obj = objects
return bool(obj and obj in included)