Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/io/io_cache.c
| Show First 20 Lines • Show All 125 Lines • ▼ Show 20 Lines | void CACHEFILE_OT_open(wmOperatorType *ot) | ||||
| ot->invoke = cachefile_open_invoke; | ot->invoke = cachefile_open_invoke; | ||||
| ot->exec = cachefile_open_exec; | ot->exec = cachefile_open_exec; | ||||
| ot->cancel = open_cancel; | ot->cancel = open_cancel; | ||||
| WM_operator_properties_filesel(ot, | WM_operator_properties_filesel(ot, | ||||
| FILE_TYPE_ALEMBIC | FILE_TYPE_FOLDER, | FILE_TYPE_ALEMBIC | FILE_TYPE_FOLDER, | ||||
| FILE_BLENDER, | FILE_BLENDER, | ||||
| FILE_SAVE, | FILE_SAVE, | ||||
| WM_FILESEL_FILEPATH, | WM_FILESEL_FILEPATH | WM_FILESEL_RELPATH, | ||||
| FILE_DEFAULTDISPLAY, | FILE_DEFAULTDISPLAY, | ||||
| FILE_SORT_DEFAULT); | FILE_SORT_DEFAULT); | ||||
| } | } | ||||
| /* ***************************** Reload Operator **************************** */ | /* ***************************** Reload Operator **************************** */ | ||||
| static int cachefile_reload_exec(bContext *C, wmOperator *UNUSED(op)) | static int cachefile_reload_exec(bContext *C, wmOperator *UNUSED(op)) | ||||
| { | { | ||||
| Show All 24 Lines | |||||