@@ -7,6 +7,7 @@ class BSEQ_scene_property(bpy.types.PropertyGroup):
77 subtype = "DIR_PATH" ,
88 description = "You need to go to the folder with the sequence, then click \" Accept\" " ,
99 update = update_path ,
10+ options = {'PATH_SUPPORTS_BLEND_RELATIVE' if bpy .app .version >= (4 , 5 , 0 ) else '' }
1011 )
1112
1213 use_relative : bpy .props .BoolProperty (name = 'Relative Paths' ,
@@ -24,6 +25,7 @@ class BSEQ_scene_property(bpy.types.PropertyGroup):
2425 description = "Select root folder for all relative paths. If empty, root is folder of the Blender file" ,
2526 update = update_path ,
2627 default = "" ,
28+ options = {'PATH_SUPPORTS_BLEND_RELATIVE' if bpy .app .version >= (4 , 5 , 0 ) else '' }
2729 )
2830
2931 fileseq : bpy .props .EnumProperty (
@@ -120,7 +122,7 @@ class BSEQ_obj_property(bpy.types.PropertyGroup):
120122 description = "If deactivated, sequence won't be updated each frame" )
121123 use_advance : bpy .props .BoolProperty (default = False )
122124 script_name : bpy .props .StringProperty (name = "Script name" )
123- path : bpy .props .StringProperty (name = "Path of sequence" , subtype = "DIR_PATH" )
125+ path : bpy .props .StringProperty (name = "Path of sequence" , subtype = "DIR_PATH" , options = { 'PATH_SUPPORTS_BLEND_RELATIVE' if bpy . app . version >= ( 4 , 5 , 0 ) else '' } )
124126 pattern : bpy .props .StringProperty (name = "Pattern of sequence" )
125127 current_file : bpy .props .StringProperty (description = "File of sequence that is currently loaded" )
126128 frame : bpy .props .IntProperty (name = "Frame" )
0 commit comments