Commit 2f5d45bc authored by Pullusb's avatar Pullusb
Browse files

fix brush import - change default rotate binding

parent 91d2a7f7
......@@ -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": "",
......
......@@ -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:
......
......@@ -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),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment