mat exclude by name for palette link
1.9.2 - feat: Palette linker has a name exclusion list in preferences - Avoid linking some material that are prefered local to file - Default item in list : `line`
This commit is contained in:
+8
-1
@@ -15,7 +15,7 @@ bl_info = {
|
||||
"name": "GP toolbox",
|
||||
"description": "Tool set for Grease Pencil in animation production",
|
||||
"author": "Samuel Bernou, Christophe Seux",
|
||||
"version": (1, 9, 1),
|
||||
"version": (1, 9, 2),
|
||||
"blender": (2, 91, 0),
|
||||
"location": "Sidebar (N menu) > Gpencil > Toolbox / Gpencil properties",
|
||||
"warning": "",
|
||||
@@ -190,6 +190,11 @@ class GPTB_prefs(bpy.types.AddonPreferences):
|
||||
default=True,
|
||||
)
|
||||
|
||||
mat_link_exclude : StringProperty(
|
||||
name="Materials Link Exclude",
|
||||
description="List of material name to exclude when using palette linker (separate multiple value with comma, ex: line, rough)",
|
||||
default="line,", maxlen=0)
|
||||
|
||||
use_env_brushes : BoolProperty(
|
||||
name="Use Project Brushes",
|
||||
description="Load the brushes path in environnement at startup (key 'BRUSHES')",
|
||||
@@ -381,6 +386,8 @@ class GPTB_prefs(bpy.types.AddonPreferences):
|
||||
subbox.prop(self, 'palette_path')
|
||||
subbox.prop(self, 'warn_base_palette')
|
||||
|
||||
subbox.prop(self, 'mat_link_exclude')
|
||||
|
||||
## Brushes
|
||||
subbox.prop(self, 'use_env_brushes', text='Use Brushes Environnement Path')
|
||||
subbox.prop(self, 'brush_path')
|
||||
|
||||
Reference in New Issue
Block a user