check list for file
1.5.1 - fix: eraser brush - change: check file has custom check list in addon prefs
This commit is contained in:
Regular → Executable
+63
-1
@@ -15,7 +15,69 @@ def change_edit_lines_opacity(self, context):
|
||||
if not gp.is_annotation:
|
||||
gp.edit_line_color[3]=self.edit_lines_opacity
|
||||
|
||||
class GP_PG_ToolsSettings(bpy.types.PropertyGroup) :
|
||||
|
||||
class GP_PG_FixSettings(bpy.types.PropertyGroup):
|
||||
lock_main_cam : BoolProperty(
|
||||
name="Lock Main Cam",
|
||||
description="Lock the main camera (works only if 'layout' is not in name)",
|
||||
default=False, options={'HIDDEN'})
|
||||
|
||||
set_scene_res : BoolProperty(
|
||||
name="Reset Scene Resolution",
|
||||
description="Set the scene resolution to current prefs project settings",
|
||||
default=True, options={'HIDDEN'})
|
||||
|
||||
set_res_percentage : BoolProperty(
|
||||
name="Reset Resolution Percentage To 100%",
|
||||
description="",
|
||||
default=True, options={'HIDDEN'})
|
||||
|
||||
set_fps : BoolProperty(
|
||||
name="Reset Fps",
|
||||
description="Set the framerate of the scene to current prefs project settings",
|
||||
default=False, options={'HIDDEN'})
|
||||
|
||||
set_slider_n_sync : BoolProperty(
|
||||
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)",
|
||||
description="Alert if the current grease pencil draw axis is not front (X-Z)",
|
||||
default=True, options={'HIDDEN'})
|
||||
|
||||
check_placement : BoolProperty(
|
||||
name="Check Stroke Placement",
|
||||
description="Alert if the current grease pencil stroke placement is not Origin",
|
||||
default=True, options={'HIDDEN'})
|
||||
|
||||
set_pivot_median_point : BoolProperty(
|
||||
name="Set Pivot To Median Point",
|
||||
description="Change the pivot point to the most used median point",
|
||||
default=True, options={'HIDDEN'})
|
||||
|
||||
disable_guide : BoolProperty(
|
||||
name="Disable Drawing Guide",
|
||||
description="Disable constrained guide in draw mode",
|
||||
default=False, options={'HIDDEN'})
|
||||
|
||||
list_disabled_anim : BoolProperty(
|
||||
name="List Disabled Animation",
|
||||
description="Alert if there are disabled animations",
|
||||
default=True, options={'HIDDEN'})
|
||||
|
||||
autokey_add_n_replace : BoolProperty(
|
||||
name="Autokey Mode Add and Replace",
|
||||
description="Change autokey mode back to 'Add & Replace'",
|
||||
default=True, options={'HIDDEN'})
|
||||
|
||||
class GP_PG_ToolsSettings(bpy.types.PropertyGroup):
|
||||
eraser_radius : IntProperty(
|
||||
name="Tint hue offset", description="Radius of eraser brush",
|
||||
default=20, min=0, max=500, subtype='PIXEL')
|
||||
|
||||
Reference in New Issue
Block a user