Commit: 637af5de12703c3fc766c869e5f6621045894085
Author: Kévin Dietrich
Date: Wed Jun 22 22:08:48 2016 +0200
Branches: alembic_basic_io
https://developer.blender.org/rB637af5de12703c3fc766c869e5f6621045894085
Add file filters to CACHEFILE_OT_open.
===================================================================
M source/blender/editors/io/io_cache.c
===================================================================
diff --git a/source/blender/editors/io/io_cache.c
b/source/blender/editors/io/io_cache.c
index f0460a0..9fc7677 100644
--- a/source/blender/editors/io/io_cache.c
+++ b/source/blender/editors/io/io_cache.c
@@ -120,6 +120,7 @@ void CACHEFILE_OT_open(wmOperatorType *ot)
ot->exec = cachefile_open_exec;
ot->cancel = open_cancel;
- WM_operator_properties_filesel(ot, 0, FILE_BLENDER, FILE_SAVE,
WM_FILESEL_FILEPATH,
+ WM_operator_properties_filesel(ot, FILE_TYPE_ALEMBIC | FILE_TYPE_FOLDER,
+ FILE_BLENDER, FILE_SAVE,
WM_FILESEL_FILEPATH,
FILE_DEFAULTDISPLAY, FILE_SORT_ALPHA);
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs