Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/util/ed_util_ops.cc
| Show First 20 Lines • Show All 143 Lines • ▼ Show 20 Lines | static void ED_OT_lib_id_generate_preview(wmOperatorType *ot) | ||||
| ot->description = "Create an automatic preview for the selected data-block"; | ot->description = "Create an automatic preview for the selected data-block"; | ||||
| ot->idname = "ED_OT_lib_id_generate_preview"; | ot->idname = "ED_OT_lib_id_generate_preview"; | ||||
| /* api callbacks */ | /* api callbacks */ | ||||
| ot->poll = lib_id_preview_editing_poll; | ot->poll = lib_id_preview_editing_poll; | ||||
| ot->exec = lib_id_generate_preview_exec; | ot->exec = lib_id_generate_preview_exec; | ||||
| /* flags */ | /* flags */ | ||||
| ot->flag = OPTYPE_INTERNAL; | ot->flag = OPTYPE_INTERNAL | OPTYPE_REGISTER | OPTYPE_UNDO; | ||||
| } | } | ||||
| /** \} */ | /** \} */ | ||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name Generic ID Operators | /** \name Generic ID Operators | ||||
| * \{ */ | * \{ */ | ||||
| ▲ Show 20 Lines • Show All 131 Lines • Show Last 20 Lines | |||||