add filepath mapping check

1.5.4

- feat: check file: add check for filepath mapping (if all relative or all absolute)
- change: check file: disable resolution set by default
This commit is contained in:
Pullusb
2021-06-28 12:41:56 +02:00
parent 15aec65b19
commit fdd3e2caef
4 changed files with 34 additions and 3 deletions
+11 -1
View File
@@ -25,7 +25,7 @@ class GP_PG_FixSettings(bpy.types.PropertyGroup):
set_scene_res : BoolProperty(
name="Reset Scene Resolution",
description="Set the scene resolution to current prefs project settings",
default=True, options={'HIDDEN'})
default=False, options={'HIDDEN'})
set_res_percentage : BoolProperty(
name="Reset Resolution Percentage To 100%",
@@ -89,6 +89,16 @@ class GP_PG_FixSettings(bpy.types.PropertyGroup):
('builtin.select_lasso', 'Select lasso', 'Use active select lasso active tool', 4),#'MOUSE_MMB'
))
## check file path mapping type
file_path_type : EnumProperty(
name="Check File Path Mapping", description="Check if all path in scene are relative, absolute or disable the check",
default='RELATIVE',
items=(
('none', 'No Check', 'Do not check for path type', 0),
('RELATIVE', 'Relative', 'Check if all path are relative', 1),
('ABSOLUTE', 'Absolute', 'Check if all path are absolute', 2),
))
class GP_PG_ToolsSettings(bpy.types.PropertyGroup):
eraser_radius : IntProperty(
name="Eraser Radius", description="Radius of eraser brush",