diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-01 23:28:45 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-01 23:28:45 +0400 |
commit | 51fd10a1b580dc91f7ef6172ac859ec5d1dcda6f (patch) | |
tree | 7ed06b308e0713e8403a39dd99021cf0036f3cbf /source/blender/editors/space_buttons | |
parent | 93bdba9b21d2e7dd860bff486e81dcb0bc9c3377 (diff) |
adding image strips wasnt working, use the 'directory' component of the file selector rather then the full 'filepath' to fix this.
added flags for filename/filepath/directory args to WM_operator_properties_filesel().
Diffstat (limited to 'source/blender/editors/space_buttons')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_buttons/buttons_ops.c b/source/blender/editors/space_buttons/buttons_ops.c index 96cf79d880f..765805aa65d 100644 --- a/source/blender/editors/space_buttons/buttons_ops.c +++ b/source/blender/editors/space_buttons/buttons_ops.c @@ -152,6 +152,6 @@ void BUTTONS_OT_file_browse(wmOperatorType *ot) ot->cancel= file_browse_cancel; /* properties */ - WM_operator_properties_filesel(ot, 0, FILE_SPECIAL, FILE_OPENFILE, FILE_RELPATH); + WM_operator_properties_filesel(ot, 0, FILE_SPECIAL, FILE_OPENFILE, WM_FILESEL_FILEPATH|WM_FILESEL_RELPATH); } |