Blender  V3.3
Functions
ed_util_ops.cc File Reference
#include <cstring>
#include "DNA_space_types.h"
#include "DNA_windowmanager_types.h"
#include "BLI_fileops.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "BKE_icons.h"
#include "BKE_lib_id.h"
#include "BKE_lib_override.h"
#include "BKE_main.h"
#include "BKE_report.h"
#include "BLT_translation.h"
#include "ED_asset.h"
#include "ED_render.h"
#include "ED_undo.h"
#include "ED_util.h"
#include "RNA_access.h"
#include "RNA_prototypes.h"
#include "UI_interface.h"
#include "WM_api.h"
#include "WM_types.h"

Go to the source code of this file.

Functions

void ED_operatortypes_edutils ()
 
ID Previews
static bool lib_id_preview_editing_poll (bContext *C)
 
static int lib_id_load_custom_preview_exec (bContext *C, wmOperator *op)
 
static void ED_OT_lib_id_load_custom_preview (wmOperatorType *ot)
 
static bool lib_id_generate_preview_poll (bContext *C)
 
static int lib_id_generate_preview_exec (bContext *C, wmOperator *UNUSED(op))
 
static void ED_OT_lib_id_generate_preview (wmOperatorType *ot)
 
static bool lib_id_generate_preview_from_object_poll (bContext *C)
 
static int lib_id_generate_preview_from_object_exec (bContext *C, wmOperator *UNUSED(op))
 
static void ED_OT_lib_id_generate_preview_from_object (wmOperatorType *ot)
 
Generic ID Operators
static int lib_id_fake_user_toggle_exec (bContext *C, wmOperator *op)
 
static void ED_OT_lib_id_fake_user_toggle (wmOperatorType *ot)
 
static int lib_id_unlink_exec (bContext *C, wmOperator *op)
 
static void ED_OT_lib_id_unlink (wmOperatorType *ot)
 
static bool lib_id_override_editable_toggle_poll (bContext *C)
 
static int lib_id_override_editable_toggle_exec (bContext *C, wmOperator *UNUSED(op))
 
static void ED_OT_lib_id_override_editable_toggle (wmOperatorType *ot)
 
General editor utils.
static int ed_flush_edits_exec (bContext *C, wmOperator *UNUSED(op))
 
static void ED_OT_flush_edits (wmOperatorType *ot)
 

Detailed Description

Utility operators for UI data or for the UI to use.

Definition in file ed_util_ops.cc.

Function Documentation

◆ ed_flush_edits_exec()

static int ed_flush_edits_exec ( bContext C,
wmOperator UNUSEDop 
)
static

Definition at line 349 of file ed_util_ops.cc.

References C, CTX_data_main(), ED_editors_flush_edits(), and OPERATOR_FINISHED.

Referenced by ED_OT_flush_edits().

◆ ED_operatortypes_edutils()

void ED_operatortypes_edutils ( void  )

◆ ED_OT_flush_edits()

static void ED_OT_flush_edits ( wmOperatorType ot)
static

◆ ED_OT_lib_id_fake_user_toggle()

static void ED_OT_lib_id_fake_user_toggle ( wmOperatorType ot)
static

◆ ED_OT_lib_id_generate_preview()

static void ED_OT_lib_id_generate_preview ( wmOperatorType ot)
static

◆ ED_OT_lib_id_generate_preview_from_object()

static void ED_OT_lib_id_generate_preview_from_object ( wmOperatorType ot)
static

◆ ED_OT_lib_id_load_custom_preview()

static void ED_OT_lib_id_load_custom_preview ( wmOperatorType ot)
static

◆ ED_OT_lib_id_override_editable_toggle()

static void ED_OT_lib_id_override_editable_toggle ( wmOperatorType ot)
static

◆ ED_OT_lib_id_unlink()

static void ED_OT_lib_id_unlink ( wmOperatorType ot)
static

◆ lib_id_fake_user_toggle_exec()

static int lib_id_fake_user_toggle_exec ( bContext C,
wmOperator op 
)
static

◆ lib_id_generate_preview_exec()

static int lib_id_generate_preview_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ lib_id_generate_preview_from_object_exec()

static int lib_id_generate_preview_from_object_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ lib_id_generate_preview_from_object_poll()

static bool lib_id_generate_preview_from_object_poll ( bContext C)
static

◆ lib_id_generate_preview_poll()

static bool lib_id_generate_preview_poll ( bContext C)
static

◆ lib_id_load_custom_preview_exec()

static int lib_id_load_custom_preview_exec ( bContext C,
wmOperator op 
)
static

◆ lib_id_override_editable_toggle_exec()

static int lib_id_override_editable_toggle_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ lib_id_override_editable_toggle_poll()

static bool lib_id_override_editable_toggle_poll ( bContext C)
static

◆ lib_id_preview_editing_poll()

static bool lib_id_preview_editing_poll ( bContext C)
static

◆ lib_id_unlink_exec()

static int lib_id_unlink_exec ( bContext C,
wmOperator op 
)
static