@@ -7,6 +7,7 @@ class BSEQ_scene_property(bpy.types.PropertyGroup):
7
7
subtype = "DIR_PATH" ,
8
8
description = "You need to go to the folder with the sequence, then click \" Accept\" " ,
9
9
update = update_path ,
10
+ options = {'PATH_SUPPORTS_BLEND_RELATIVE' if bpy .app .version >= (4 , 5 , 0 ) else '' }
10
11
)
11
12
12
13
use_relative : bpy .props .BoolProperty (name = 'Relative Paths' ,
@@ -24,6 +25,7 @@ class BSEQ_scene_property(bpy.types.PropertyGroup):
24
25
description = "Select root folder for all relative paths. If empty, root is folder of the Blender file" ,
25
26
update = update_path ,
26
27
default = "" ,
28
+ options = {'PATH_SUPPORTS_BLEND_RELATIVE' if bpy .app .version >= (4 , 5 , 0 ) else '' }
27
29
)
28
30
29
31
fileseq : bpy .props .EnumProperty (
@@ -120,7 +122,7 @@ class BSEQ_obj_property(bpy.types.PropertyGroup):
120
122
description = "If deactivated, sequence won't be updated each frame" )
121
123
use_advance : bpy .props .BoolProperty (default = False )
122
124
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 '' } )
124
126
pattern : bpy .props .StringProperty (name = "Pattern of sequence" )
125
127
current_file : bpy .props .StringProperty (description = "File of sequence that is currently loaded" )
126
128
frame : bpy .props .IntProperty (name = "Frame" )
0 commit comments