Select tool prop to dix prop group and UI change

This commit is contained in:
Pullusb
2021-06-24 16:40:22 +02:00
parent 0740e835d8
commit 15aec65b19
3 changed files with 28 additions and 37 deletions
+17 -5
View File
@@ -41,11 +41,6 @@ class GP_PG_FixSettings(bpy.types.PropertyGroup):
name="Dopesheets Show Slider And Sync Range",
description="Toggle on the use of show slider and sync range",
default=True, options={'HIDDEN'})
set_cursor_type : BoolProperty(
name="Set Select Cursor Mode",
description="Set the type of the selection cursor (according to addon prefs)",
default=True, options={'HIDDEN'})
check_front_axis : BoolProperty(
name="Check If Draw Axis is Front (X-Z)",
@@ -77,6 +72,23 @@ class GP_PG_FixSettings(bpy.types.PropertyGroup):
description="Change autokey mode back to 'Add & Replace'",
default=True, options={'HIDDEN'})
# set_cursor_type : BoolProperty(
# name="Set Select Cursor Mode",
# description="Set the type of the selection cursor (according to addon prefs)",
# default=True, options={'HIDDEN'})
## default active tool to use
select_active_tool : EnumProperty(
name="Default selection tool", description="Active tool to set when launching check fix scene",
default='builtin.select_lasso',
items=(
('none', 'Dont change', 'Let the current active tool without change', 0),#'MOUSE_RMB'
('builtin.select', 'Select tweak', 'Use active select tweak active tool', 1),#'MOUSE_RMB'
('builtin.select_box', 'Select box', 'Use active select box active tool', 2),#'MOUSE_LMB'
('builtin.select_circle', 'Select circle', 'Use active select circle active tool', 3),#'MOUSE_MMB'
('builtin.select_lasso', 'Select lasso', 'Use active select lasso active tool', 4),#'MOUSE_MMB'
))
class GP_PG_ToolsSettings(bpy.types.PropertyGroup):
eraser_radius : IntProperty(
name="Eraser Radius", description="Radius of eraser brush",