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:
+11
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user