From 0160b4eae4b78b78ffc588e05962525ba4d7b456 Mon Sep 17 00:00:00 2001 From: pullusb Date: Mon, 11 Nov 2024 17:49:22 +0100 Subject: [PATCH] keymap paint mode name --- OP_layer_manager.py | 2 +- OP_layer_nav.py | 2 +- OP_layer_picker.py | 2 +- OP_material_picker.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/OP_layer_manager.py b/OP_layer_manager.py index 5bc5fcb..c9e8c18 100644 --- a/OP_layer_manager.py +++ b/OP_layer_manager.py @@ -776,7 +776,7 @@ def register_keymaps(): ##---# F2 rename calls ## Direct rename active layer in Paint mode - km = addon.keymaps.new(name = "Grease Pencil Stroke Paint Mode", space_type = "EMPTY") + km = addon.keymaps.new(name = "Grease Pencil Paint Mode", space_type = "EMPTY") kmi = km.keymap_items.new('wm.call_panel', type='F2', value='PRESS') kmi.properties.name = 'GPTB_PT_layer_name_ui' kmi.properties.keep_open = False diff --git a/OP_layer_nav.py b/OP_layer_nav.py index da0a7b1..5eabf2f 100644 --- a/OP_layer_nav.py +++ b/OP_layer_nav.py @@ -127,7 +127,7 @@ addon_keymaps = [] def register_keymap(): addon = bpy.context.window_manager.keyconfigs.addon - km = addon.keymaps.new(name = "Grease Pencil Stroke Paint Mode", space_type = "EMPTY") + km = addon.keymaps.new(name = "Grease Pencil Paint Mode", space_type = "EMPTY") kmi = km.keymap_items.new('gp.layer_nav', type='PAGE_UP', value='PRESS') kmi.properties.direction = 'UP' diff --git a/OP_layer_picker.py b/OP_layer_picker.py index dcde63f..97f8bb3 100644 --- a/OP_layer_picker.py +++ b/OP_layer_picker.py @@ -125,7 +125,7 @@ class GP_OT_pick_closest_layer(Operator): addon_keymaps = [] def register_keymaps(): addon = bpy.context.window_manager.keyconfigs.addon - km = addon.keymaps.new(name = "Grease Pencil Stroke Paint Mode", space_type = "EMPTY", region_type='WINDOW') + km = addon.keymaps.new(name = "Grease Pencil Paint Mode", space_type = "EMPTY", region_type='WINDOW') kmi = km.keymap_items.new( # name="", diff --git a/OP_material_picker.py b/OP_material_picker.py index 71baf18..65f7a1a 100644 --- a/OP_material_picker.py +++ b/OP_material_picker.py @@ -291,7 +291,7 @@ addon_keymaps = [] def register_keymaps(): addon = bpy.context.window_manager.keyconfigs.addon # km = addon.keymaps.new(name = "Grease Pencil Stroke Paint (Draw brush)", space_type = "EMPTY", region_type='WINDOW') - # km = addon.keymaps.new(name = "Grease Pencil Stroke Paint Mode", space_type = "EMPTY", region_type='WINDOW') + # km = addon.keymaps.new(name = "Grease Pencil Paint Mode", space_type = "EMPTY", region_type='WINDOW') km = addon.keymaps.new(name = "Grease Pencil Stroke Paint (Fill)", space_type = "EMPTY", region_type='WINDOW') kmi = km.keymap_items.new( # name="",