fix fileselect for images from sequencer
authorAndrea Weikert <elubie@gmx.net>
Fri, 17 Jun 2011 21:24:05 +0000 (21:24 +0000)
committerAndrea Weikert <elubie@gmx.net>
Fri, 17 Jun 2011 21:24:05 +0000 (21:24 +0000)
* recent code to provide directory only fileselect broke selection of images with 'A' (rev. rev. 37552.)

source/blender/editors/space_sequencer/sequencer_add.c

index 6d50913..502e2ad 100644 (file)
@@ -546,7 +546,7 @@ void SEQUENCER_OT_image_strip_add(struct wmOperatorType *ot)
        /* flags */
        ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
        
-       WM_operator_properties_filesel(ot, FOLDERFILE|IMAGEFILE, FILE_SPECIAL, FILE_OPENFILE, WM_FILESEL_DIRECTORY|WM_FILESEL_RELPATH);
+       WM_operator_properties_filesel(ot, FOLDERFILE|IMAGEFILE, FILE_SPECIAL, FILE_OPENFILE, WM_FILESEL_DIRECTORY|WM_FILESEL_FILENAME|WM_FILESEL_RELPATH);
        sequencer_generic_props__internal(ot, SEQPROP_STARTFRAME|SEQPROP_ENDFRAME|SEQPROP_FILES);
 }