Blender V5.3
wm_files_link.cc File Reference
#include <cctype>
#include <cerrno>
#include <cfloat>
#include <cstring>
#include "CLG_log.h"
#include "DNA_ID.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "DNA_windowmanager_types.h"
#include "BLI_fileops.hh"
#include "BLI_map.hh"
#include "BLI_path_utils.hh"
#include "BLI_string.hh"
#include "BLO_readfile.hh"
#include "BKE_armature.hh"
#include "BKE_blendfile.hh"
#include "BKE_blendfile_link_append.hh"
#include "BKE_context.hh"
#include "BKE_global.hh"
#include "BKE_key.hh"
#include "BKE_layer.hh"
#include "BKE_lib_id.hh"
#include "BKE_lib_override.hh"
#include "BKE_lib_query.hh"
#include "BKE_lib_remap.hh"
#include "BKE_library.hh"
#include "BKE_main.hh"
#include "BKE_material.hh"
#include "BKE_object.hh"
#include "BKE_report.hh"
#include "BKE_rigidbody.h"
#include "BKE_scene.hh"
#include "BKE_idtype.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_build.hh"
#include "IMB_colormanagement.hh"
#include "ED_datafiles.h"
#include "ED_screen.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "wm_files.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Link/Append Operator
static bool blender::wm_link_append_poll (bContext *C)
static wmOperatorStatus blender::wm_link_append_invoke (bContext *C, wmOperator *op, const wmEvent *)
static int blender::wm_link_append_flag (wmOperator *op)
static bool blender::wm_link_append_item_poll (ReportList *reports, const char *filepath, const char *group, const char *name, const bool do_append)
static wmOperatorStatus blender::wm_link_append_exec (bContext *C, wmOperator *op)
static void blender::wm_link_append_properties_common (wmOperatorType *ot, const bool is_link, const bool is_relocate)
void blender::WM_OT_link (wmOperatorType *ot)
void blender::WM_OT_append (wmOperatorType *ot)
static wmOperatorStatus blender::wm_id_linked_relocate_exec (bContext *C, wmOperator *op)
void blender::WM_OT_id_linked_relocate (wmOperatorType *ot)
Link/Append Single Data-Block & Return it
static ID * blender::wm_file_link_append_datablock_ex (Main *bmain, Scene *scene, ViewLayer *view_layer, View3D *v3d, const char *filepath, const short id_code, const char *id_name, const int flag, ReportList *reports=nullptr)
ID * blender::WM_file_link_datablock (Main *bmain, Scene *scene, ViewLayer *view_layer, View3D *v3d, const char *filepath, const short id_code, const char *id_name, int flag, ReportList *reports)
ID * blender::WM_file_append_datablock (Main *bmain, Scene *scene, ViewLayer *view_layer, View3D *v3d, const char *filepath, const short id_code, const char *id_name, int flag, ReportList *reports)
Library Relocate Operator & Library Reload API
static wmOperatorStatus blender::wm_lib_relocate_invoke (bContext *C, wmOperator *op, const wmEvent *)
void blender::WM_lib_reload (Library *lib, bContext *C, ReportList *reports)
static wmOperatorStatus blender::wm_lib_relocate_exec_do (bContext *C, wmOperator *op, bool do_reload)
static wmOperatorStatus blender::wm_lib_relocate_exec (bContext *C, wmOperator *op)
void blender::WM_OT_lib_relocate (wmOperatorType *ot)
static wmOperatorStatus blender::wm_lib_reload_exec (bContext *C, wmOperator *op)
void blender::WM_OT_lib_reload (wmOperatorType *ot)

Variables

static CLG_LogRef blender::LOG = {"blend.link"}

Detailed Description

Functions for dealing with append/link operators and helpers.

Definition in file wm_files_link.cc.