diff --git a/greasepencil-addon/__init__.py b/greasepencil-addon/__init__.py index 0ba50b6b6c81cd5f7871973aeb67c132d3ed487a..2771c52dcf57a63fa611ae63becd8cbdf4d26d42 100644 --- a/greasepencil-addon/__init__.py +++ b/greasepencil-addon/__init__.py @@ -21,7 +21,7 @@ bl_info = { "name": "Grease Pencil Tools", "description": "Pack of tools for Grease pencil drawing", "author": "Samuel Bernou", -"version": (1, 1, 0), +"version": (1, 1, 1), "blender": (2, 83, 0), "location": "sidebar (N) > Grease pencil > Grease pencil", "warning": "", diff --git a/greasepencil-addon/import_brush_pack.py b/greasepencil-addon/import_brush_pack.py index ec120ed33081823b1fd937f3b4093700f6a2a12c..fbeb25f14d7477dde65e99345593d22c443f230c 100644 --- a/greasepencil-addon/import_brush_pack.py +++ b/greasepencil-addon/import_brush_pack.py @@ -17,7 +17,10 @@ class GP_OT_install_brush_pack(bpy.types.Operator): with bpy.data.libraries.load(str(blend_fp), link=False) as (data_from, data_to): # load brushes starting with 'tex' prefix if there are not already there data_to.brushes = [b for b in data_from.brushes if b.startswith('tex_') and not b in cur_brushes] - + # Add holdout + if 'z_holdout' in data_from.brushes: + data_to.brushes.append('z_holdout') + brush_count = len(data_to.brushes) ## force fake user for the brushes for b in data_to.brushes: diff --git a/greasepencil-addon/prefs.py b/greasepencil-addon/prefs.py index bbb26304279cb5980bf713855897a1c6ee622fa9..7f6282fa6e86ddc33e4329953856d7f50e8a287b 100644 --- a/greasepencil-addon/prefs.py +++ b/greasepencil-addon/prefs.py @@ -100,7 +100,7 @@ class GreasePencilAddonPrefs(bpy.types.AddonPreferences): mouse_click : EnumProperty( name="Mouse button", description="click on right/left/middle mouse button in combination with a modifier to trigger alignement", - default='RIGHTMOUSE', + default='MIDDLEMOUSE', items=( ('RIGHTMOUSE', 'Right click', 'Use click on Right mouse button', 'MOUSE_RMB', 0), ('LEFTMOUSE', 'Left click', 'Use click on Left mouse button', 'MOUSE_LMB', 1),