diff options
Diffstat (limited to 'source/blender/editors/space_file/file_ops.c')
-rw-r--r-- | source/blender/editors/space_file/file_ops.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c index 844514759f3..15bb7917924 100644 --- a/source/blender/editors/space_file/file_ops.c +++ b/source/blender/editors/space_file/file_ops.c @@ -1956,35 +1956,6 @@ void FILE_OT_refresh(struct wmOperatorType *ot) /** \} */ /* -------------------------------------------------------------------- */ -/** \name Refresh Asset Library Operator - * \{ */ - -static int file_asset_library_refresh_exec(bContext *C, wmOperator *UNUSED(unused)) -{ - wmWindowManager *wm = CTX_wm_manager(C); - SpaceFile *sfile = CTX_wm_space_file(C); - - ED_fileselect_clear(wm, sfile); - WM_event_add_notifier(C, NC_SPACE | ND_SPACE_FILE_LIST, NULL); - - return OPERATOR_FINISHED; -} - -void FILE_OT_asset_library_refresh(struct wmOperatorType *ot) -{ - /* identifiers */ - ot->name = "Refresh Asset Library"; - ot->description = "Reread assets and asset catalogs from the asset library on disk"; - ot->idname = "FILE_OT_asset_library_refresh"; - - /* api callbacks */ - ot->exec = file_asset_library_refresh_exec; - ot->poll = ED_operator_asset_browsing_active; -} - -/** \} */ - -/* -------------------------------------------------------------------- */ /** \name Navigate Parent Operator * \{ */ |