2.5: File browser
[blender.git] / source / blender / editors / screen / screendump.c
index 81da74217ec6feec8668cccc102ac31c6528d720..d69c6dfcdbad892f6ee18bca7dffa9201bdd4573 100644 (file)
@@ -173,7 +173,7 @@ void SCREEN_OT_screenshot(wmOperatorType *ot)
        
        ot->flag= 0;
        
-       RNA_def_property(ot->srna, "filename", PROP_STRING, PROP_FILEPATH);
+       WM_operator_properties_filesel(ot, FOLDERFILE|IMAGEFILE);
        RNA_def_boolean(ot->srna, "full", 1, "Full Screen", "");
 }