|
Blender
V2.93
|
#include <string.h>#include "MEM_guardedalloc.h"#include "DNA_collection_types.h"#include "DNA_material_types.h"#include "DNA_object_types.h"#include "DNA_space_types.h"#include "BLI_listbase.h"#include "BLT_translation.h"#include "BKE_collection.h"#include "BKE_context.h"#include "BKE_layer.h"#include "BKE_main.h"#include "BKE_material.h"#include "BKE_object.h"#include "BKE_report.h"#include "DEG_depsgraph.h"#include "DEG_depsgraph_build.h"#include "ED_object.h"#include "ED_outliner.h"#include "ED_screen.h"#include "UI_interface.h"#include "UI_view2d.h"#include "RNA_access.h"#include "WM_api.h"#include "WM_types.h"#include "outliner_intern.h"Go to the source code of this file.
Classes | |
| struct | StackDropData |
| struct | CollectionDrop |
Macros | |
| #define | OUTLINER_DRAG_SCOLL_OUTSIDE_PAD 7 /* In UI units */ |
Typedefs | |
| typedef bool(* | CheckTypeFn) (TreeElement *te) |
| typedef enum eDataStackDropAction | eDataStackDropAction |
| typedef struct StackDropData | StackDropData |
| typedef struct CollectionDrop | CollectionDrop |
Enumerations | |
| enum | eDataStackDropAction { DATA_STACK_DROP_REORDER , DATA_STACK_DROP_COPY , DATA_STACK_DROP_LINK } |
| #define OUTLINER_DRAG_SCOLL_OUTSIDE_PAD 7 /* In UI units */ |
Definition at line 1327 of file outliner_dragdrop.c.
| typedef bool(* CheckTypeFn) (TreeElement *te) |
Definition at line 186 of file outliner_dragdrop.c.
| typedef struct CollectionDrop CollectionDrop |
| typedef enum eDataStackDropAction eDataStackDropAction |
| typedef struct StackDropData StackDropData |
| enum eDataStackDropAction |
| Enumerator | |
|---|---|
| DATA_STACK_DROP_REORDER | |
| DATA_STACK_DROP_COPY | |
| DATA_STACK_DROP_LINK | |
Definition at line 672 of file outliner_dragdrop.c.
|
static |
Definition at line 307 of file outliner_dragdrop.c.
References SpaceOutliner::filter, SpaceOutliner::outlinevis, SO_FILTER_NO_COLLECTION, SO_SCENES, and SO_VIEW_LAYER.
Referenced by parent_clear_poll(), and parent_drop_poll().
|
static |
Definition at line 1102 of file outliner_dragdrop.c.
References C, collection_parent_from_ID(), wmEvent::ctrl, data, ELEM, ListBase::first, wmDragID::from_parent, GS, id, Collection::id, wmDragID::id, ID_GR, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY, ID_OB, wmDrag::ids, ID::name, NULL, outliner_collection_from_tree_element(), outliner_drop_insert_collection_find(), TE_INSERT_INTO, wmDrag::type, and WM_DRAG_ID.
Referenced by collection_drop_invoke(), and collection_drop_poll().
|
static |
Definition at line 1234 of file outliner_dragdrop.c.
References BKE_collection_is_empty(), BKE_collection_move(), BKE_collection_object_add(), BKE_collection_object_move(), C, collection_drop_init(), collection_parent_from_ID(), CTX_data_main(), CTX_data_scene(), CTX_wm_space_outliner(), wmEvent::custom, data, DEG_id_tag_update(), DEG_relations_tag_update(), ELEM, EVT_DATA_DRAGDROP, ListBase::first, from, GS, Collection::id, Object::id, ID_GR, ID_OB, ID_RECALC_COPY_ON_WRITE, wmDrag::ids, if(), LISTBASE_FOREACH, NC_SCENE, ND_LAYER, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_collection_from_tree_element(), outliner_find_parent_element(), scene, TE_INSERT_AFTER, TE_INSERT_BEFORE, SpaceOutliner::tree, TREESTORE, TSE_CLOSED, and WM_event_add_notifier().
Referenced by OUTLINER_OT_collection_drop().
|
static |
Definition at line 1163 of file outliner_dragdrop.c.
References C, collection_drop_init(), wmEvent::ctrl, CTX_wm_region(), CTX_wm_space_outliner(), data, ED_region_tag_redraw_no_rebuild(), ListBase::first, TreeStoreElem::flag, GS, wmDragID::id, ID_OB, wmDrag::ids, ID::name, TreeElement::next, outliner_flag_set(), outliner_is_collection_tree_element(), TreeElement::prev, wmEvent::shift, TE_INSERT_AFTER, TE_INSERT_BEFORE, TE_INSERT_INTO, TIP_, SpaceOutliner::tree, TREESTORE, TSE_DRAG_AFTER, TSE_DRAG_ANY, TSE_DRAG_BEFORE, TSE_DRAG_INTO, and TSE_HIGHLIGHTED_ANY.
Referenced by outliner_dropboxes().
|
static |
Definition at line 1084 of file outliner_dragdrop.c.
References GS, id, ID_GR, ID_IS_LINKED, ID_SCE, ID::name, and NULL.
Referenced by collection_drop_init(), and collection_drop_invoke().
|
static |
Definition at line 804 of file outliner_dragdrop.c.
References StackDropData::drag_tselem, StackDropData::drop_te, TreeStoreElem::id, if(), OB_GPENCIL, StackDropData::ob_parent, StackDropData::pchan_parent, TREESTORE, TSE_CONSTRAINT, TSE_CONSTRAINT_BASE, TSE_GPENCIL_EFFECT, TSE_GPENCIL_EFFECT_BASE, TSE_MODIFIER, TSE_MODIFIER_BASE, TSE_POSE_CHANNEL, Object::type, and TreeStoreElem::type.
Referenced by datastack_drop_poll().
|
static |
Definition at line 952 of file outliner_dragdrop.c.
References C, CTX_data_main(), TreeElement::directdata, StackDropData::drag_directdata, StackDropData::drag_tselem, StackDropData::drop_te, ED_object_constraint_copy_for_object(), ED_object_constraint_copy_for_pose(), ED_object_gpencil_modifier_copy_to_object(), ED_object_modifier_copy_to_object(), ED_object_shaderfx_copy(), TreeStoreElem::id, OB_GPENCIL, StackDropData::ob_parent, TREESTORE, TSE_CONSTRAINT, TSE_GPENCIL_EFFECT, TSE_MODIFIER, TSE_POSE_CHANNEL, Object::type, and TreeStoreElem::type.
Referenced by datastack_drop_invoke().
|
static |
Definition at line 690 of file outliner_dragdrop.c.
References StackDropData::drag_directdata, StackDropData::drag_index, StackDropData::drag_tselem, wmDrag::flags, TreeElement::index, MEM_callocN, StackDropData::ob_parent, StackDropData::pchan_parent, wmDrag::poin, and WM_DRAG_FREE_DATA.
Referenced by outliner_item_drag_drop_invoke().
|
static |
Definition at line 709 of file outliner_dragdrop.c.
References C, DATA_STACK_DROP_COPY, DATA_STACK_DROP_LINK, DATA_STACK_DROP_REORDER, TreeElement::directdata, StackDropData::drag_tselem, StackDropData::drop_action, StackDropData::drop_te, ELEM, Object::id, ID_IS_LINKED, StackDropData::insert_type, is_object_element(), is_pchan_element(), NULL, StackDropData::ob_parent, outliner_data_from_tree_element_and_parents(), outliner_drop_insert_find(), StackDropData::pchan_parent, TE_INSERT_INTO, TREESTORE, TSE_CONSTRAINT, TSE_CONSTRAINT_BASE, TSE_GPENCIL_EFFECT, TSE_GPENCIL_EFFECT_BASE, TSE_MODIFIER, TSE_MODIFIER_BASE, and TreeStoreElem::type.
Referenced by datastack_drop_poll().
|
static |
Definition at line 1033 of file outliner_dragdrop.c.
References C, wmEvent::custom, DATA_STACK_DROP_COPY, DATA_STACK_DROP_LINK, DATA_STACK_DROP_REORDER, datastack_drop_copy(), datastack_drop_link(), datastack_drop_reorder(), StackDropData::drop_action, EVT_DATA_DRAGDROP, ListBase::first, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmDrag::poin, and wmOperator::reports.
Referenced by OUTLINER_OT_datastack_drop().
|
static |
Definition at line 910 of file outliner_dragdrop.c.
References C, bPoseChannel::constraints, Object::constraints, CTX_data_main(), TreeElement::directdata, StackDropData::drag_tselem, StackDropData::drop_te, ED_object_constraint_link(), ED_object_modifier_link(), ED_object_shaderfx_link(), TreeStoreElem::id, OB_GPENCIL, StackDropData::ob_parent, StackDropData::pchan_parent, TREESTORE, TSE_CONSTRAINT_BASE, TSE_GPENCIL_EFFECT_BASE, TSE_MODIFIER_BASE, TSE_POSE_CHANNEL, Object::type, and TreeStoreElem::type.
Referenced by datastack_drop_invoke().
|
static |
Definition at line 841 of file outliner_dragdrop.c.
References C, CTX_wm_region(), CTX_wm_space_outliner(), DATA_STACK_DROP_COPY, DATA_STACK_DROP_LINK, DATA_STACK_DROP_REORDER, datastack_drop_are_types_valid(), datastack_drop_init(), StackDropData::drop_action, StackDropData::drop_te, ED_region_tag_redraw_no_rebuild(), TreeStoreElem::flag, StackDropData::insert_type, outliner_flag_set(), StackDropData::pchan_parent, wmDrag::poin, TE_INSERT_AFTER, TE_INSERT_BEFORE, TE_INSERT_INTO, TIP_, SpaceOutliner::tree, TREESTORE, TSE_DRAG_AFTER, TSE_DRAG_ANY, TSE_DRAG_BEFORE, TSE_DRAG_INTO, TSE_HIGHLIGHTED_ANY, wmDrag::type, and WM_DRAG_DATASTACK.
Referenced by outliner_dropboxes().
|
static |
Definition at line 989 of file outliner_dragdrop.c.
References C, bPoseChannel::constraints, Object::constraints, CTX_wm_space_outliner(), StackDropData::drag_directdata, StackDropData::drag_tselem, StackDropData::drop_te, ED_object_constraint_move_to_index(), ED_object_gpencil_modifier_move_to_index(), ED_object_modifier_move_to_index(), ED_object_shaderfx_move_to_index(), Object::greasepencil_modifiers, StackDropData::insert_type, Object::modifiers, OB_GPENCIL, StackDropData::ob_parent, outliner_find_tree_element(), outliner_get_insert_index(), StackDropData::pchan_parent, Object::shader_fx, SpaceOutliner::tree, TSE_CONSTRAINT, TSE_GPENCIL_EFFECT, TSE_MODIFIER, Object::type, and TreeStoreElem::type.
Referenced by datastack_drop_invoke().
|
static |
Definition at line 200 of file outliner_dragdrop.c.
References outliner_is_collection_tree_element().
Referenced by outliner_drop_insert_collection_find().
|
static |
Definition at line 205 of file outliner_dragdrop.c.
References ID_OB, TreeElement::idcode, TREESTORE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by datastack_drop_init().
|
static |
Definition at line 211 of file outliner_dragdrop.c.
References TREESTORE, TSE_POSE_CHANNEL, and TreeStoreElem::type.
Referenced by datastack_drop_init().
|
static |
Definition at line 622 of file outliner_dragdrop.c.
References BKE_MAT_ASSIGN_USERPREF, BKE_object_material_assign(), C, CTX_data_main(), ELEM, Material::gp_style, ID_MA, ID_OB, NC_MATERIAL, NC_OBJECT, NC_SPACE, ND_OB_SHADING, ND_SHADING_LINKS, ND_SPACE_VIEW3D, NULL, OB_GPENCIL, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_ID_drop_find(), Object::totcol, Object::type, WM_drag_get_local_ID_from_event(), and WM_event_add_notifier().
Referenced by OUTLINER_OT_material_drop().
|
static |
Definition at line 612 of file outliner_dragdrop.c.
References C, ID_MA, ID_OB, NULL, outliner_ID_drop_find(), and WM_drag_get_local_ID().
Referenced by outliner_dropboxes().
|
static |
Definition at line 188 of file outliner_dragdrop.c.
References NULL, and TreeElement::parent.
Referenced by datastack_drop_init(), and outliner_drop_insert_collection_find().
|
static |
Definition at line 102 of file outliner_dragdrop.c.
References C, CTX_wm_region(), CTX_wm_space_outliner(), wmEvent::mval, outliner_dropzone_find(), UI_view2d_region_to_view(), and ARegion::v2d.
Referenced by outliner_ID_drop_find(), parent_clear_poll(), parent_drop_invoke(), and parent_drop_poll().
|
static |
Definition at line 217 of file outliner_dragdrop.c.
References C, COLLECTION_IS_MASTER, Collection::flag, is_collection_element(), NULL, outliner_collection_from_tree_element(), outliner_data_from_tree_element_and_parents(), outliner_drop_insert_find(), and TE_INSERT_INTO.
Referenced by collection_drop_init().
|
static |
Definition at line 124 of file outliner_dragdrop.c.
References BLI_assert, BLI_listbase_is_empty(), C, CTX_wm_region(), CTX_wm_space_outliner(), ListBase::first, ListBase::last, wmEvent::mval, NULL, outliner_find_item_at_y(), TreeElement::subtree, TE_INSERT_AFTER, TE_INSERT_BEFORE, TE_INSERT_INTO, SpaceOutliner::tree, TREESTORE, TSELEM_OPEN, UI_UNIT_Y, UI_view2d_region_to_view(), ARegion::v2d, and TreeElement::ys.
Referenced by datastack_drop_init(), and outliner_drop_insert_collection_find().
| void outliner_dropboxes | ( | void | ) |
Definition at line 1503 of file outliner_dragdrop.c.
References collection_drop_poll(), datastack_drop_poll(), material_drop_poll(), NULL, parent_clear_poll(), parent_drop_poll(), RGN_TYPE_WINDOW, scene_drop_poll(), SPACE_OUTLINER, WM_dropbox_add(), and WM_dropboxmap_find().
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 66 of file outliner_dragdrop.c.
References ListBase::first, LISTBASE_FOREACH, NULL, TreeElement::subtree, TREESTORE, TSE_CLOSED, UI_UNIT_X, UI_UNIT_Y, TreeElement::xend, TreeElement::xs, and TreeElement::ys.
Referenced by outliner_dropzone_find().
|
static |
Definition at line 89 of file outliner_dragdrop.c.
References LISTBASE_FOREACH, NULL, outliner_dropzone_element(), and SpaceOutliner::tree.
Referenced by outliner_drop_find().
|
static |
Definition at line 245 of file outliner_dragdrop.c.
References BLI_findindex(), TreeElement::directdata, TreeElement::index, TreeElement::next, NULL, TreeElement::prev, TE_INSERT_AFTER, and TE_INSERT_BEFORE.
Referenced by datastack_drop_reorder().
Definition at line 112 of file outliner_dragdrop.c.
References C, TreeStoreElem::id, TreeElement::idcode, NULL, outliner_drop_find(), TREESTORE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by material_drop_invoke(), material_drop_poll(), scene_drop_invoke(), and scene_drop_poll().
|
static |
Definition at line 1339 of file outliner_dragdrop.c.
References BLI_freelistN(), C, CTX_data_scene(), CTX_wm_region(), CTX_wm_space_outliner(), data, datastack_drop_data_init(), TreeElement::directdata, ED_outliner_select_sync_from_outliner(), ELEM, TreeStoreElem::flag, GS, Collection::id, TreeStoreElem::id, ID_GR, ID_OB, if(), LISTBASE_FOREACH, Scene::master_collection, wmEvent::mval, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, ot, outliner_collection_from_tree_element(), OUTLINER_DRAG_SCOLL_OUTSIDE_PAD, outliner_find_parent_bone(), outliner_find_selected_collections(), outliner_find_selected_objects(), outliner_flag_set(), outliner_is_co_within_mode_column(), outliner_is_collection_tree_element(), outliner_item_drag_element_find(), outliner_item_is_co_within_close_toggle(), outliner_tree_traverse(), TreeElement::parent, RNA_int_set(), scene, IDsSelectedData::selected_array, SpaceOutliner::tree, tree_element_get_icon(), TREESTORE, TSE_CONSTRAINT, TSE_CONSTRAINT_BASE, TSE_GPENCIL_EFFECT, TSE_GPENCIL_EFFECT_BASE, TSE_MODIFIER, TSE_MODIFIER_BASE, TSE_SELECTED, TreeStoreElem::type, UI_view2d_region_to_view(), ARegion::v2d, WM_drag_add_local_ID(), WM_DRAG_DATASTACK, WM_DRAG_ID, WM_DRAG_NOP, WM_event_start_drag(), WM_OP_INVOKE_DEFAULT, WM_operator_name_call_ptr(), WM_operator_properties_create_ptr(), WM_operator_properties_free(), and WM_operatortype_find().
Referenced by OUTLINER_OT_item_drag_drop().
|
static |
Definition at line 1329 of file outliner_dragdrop.c.
References wmEvent::mval, outliner_find_item_at_y(), SpaceOutliner::tree, UI_view2d_region_to_view_y(), and ARegion::v2d.
Referenced by outliner_item_drag_drop_invoke().
| void OUTLINER_OT_collection_drop | ( | wmOperatorType * | ot | ) |
Definition at line 1310 of file outliner_dragdrop.c.
References collection_drop_invoke(), wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void OUTLINER_OT_datastack_drop | ( | wmOperatorType * | ot | ) |
Definition at line 1058 of file outliner_dragdrop.c.
References datastack_drop_invoke(), wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void OUTLINER_OT_item_drag_drop | ( | wmOperatorType * | ot | ) |
Definition at line 1488 of file outliner_dragdrop.c.
References wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_item_drag_drop_invoke(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void OUTLINER_OT_material_drop | ( | wmOperatorType * | ot | ) |
Definition at line 646 of file outliner_dragdrop.c.
References wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, material_drop_invoke(), wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void OUTLINER_OT_parent_clear | ( | wmOperatorType * | ot | ) |
Definition at line 526 of file outliner_dragdrop.c.
References wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, parent_clear_invoke(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void OUTLINER_OT_parent_drop | ( | wmOperatorType * | ot | ) |
Definition at line 440 of file outliner_dragdrop.c.
References wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, parent_drop_invoke(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void OUTLINER_OT_scene_drop | ( | wmOperatorType * | ot | ) |
Definition at line 594 of file outliner_dragdrop.c.
References wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and scene_drop_invoke().
Referenced by outliner_operatortypes().
|
static |
Definition at line 501 of file outliner_dragdrop.c.
References wmEvent::alt, C, CLEAR_PARENT_ALL, CLEAR_PARENT_KEEP_TRANSFORM, CTX_data_main(), wmEvent::custom, DEG_relations_tag_update(), ED_object_parent_clear(), EVT_DATA_DRAGDROP, ListBase::first, GS, Object::id, ID_OB, wmDrag::ids, LISTBASE_FOREACH, NC_OBJECT, ND_PARENT, ND_TRANSFORM, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by OUTLINER_OT_parent_clear().
|
static |
Definition at line 458 of file outliner_dragdrop.c.
References allow_parenting_without_modifier_key(), C, CTX_wm_space_outliner(), ELEM, GS, id, TreeStoreElem::id, ID_GR, ID_OB, ID::name, outliner_drop_find(), Object::parent, wmEvent::shift, TREESTORE, TSE_CONSTRAINT_BASE, TSE_LIBRARY_OVERRIDE_BASE, TSE_MODIFIER_BASE, TreeStoreElem::type, and WM_drag_get_local_ID().
Referenced by outliner_dropboxes().
|
static |
Definition at line 271 of file outliner_dragdrop.c.
References BKE_object_is_child_recursive(), BKE_view_layer_base_find(), TreeStoreElem::id, ID_OB, ID_SCE, TreeElement::idcode, if(), LISTBASE_FOREACH, outliner_search_back(), Object::parent, scene, TREESTORE, TSE_SOME_ID, TreeStoreElem::type, and Scene::view_layers.
Referenced by parent_drop_poll().
|
static |
Definition at line 409 of file outliner_dragdrop.c.
References wmEvent::alt, C, wmEvent::custom, ELEM, EVT_DATA_DRAGDROP, ListBase::first, TreeStoreElem::id, ID_OB, TreeElement::idcode, wmDrag::ids, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_drop_find(), PAR_OBJECT, parent_drop_set_parents(), wmOperator::reports, TREESTORE, TSE_SOME_ID, TreeStoreElem::type, and WM_drag_get_local_ID_from_event().
Referenced by OUTLINER_OT_parent_drop().
|
static |
Definition at line 319 of file outliner_dragdrop.c.
References allow_parenting_without_modifier_key(), C, CTX_wm_region(), CTX_wm_space_outliner(), ED_region_tag_redraw_no_rebuild(), ID_OB, outliner_drop_find(), outliner_flag_set(), parent_drop_allowed(), wmEvent::shift, SpaceOutliner::tree, TREESTORE, TSE_DRAG_ANY, TSE_DRAG_INTO, and WM_drag_get_local_ID().
Referenced by outliner_dropboxes().
|
static |
Definition at line 356 of file outliner_dragdrop.c.
References BKE_report(), C, CTX_data_main(), CTX_data_scene(), CTX_wm_space_outliner(), DEG_relations_tag_update(), ED_object_parent_set(), GS, Object::id, ID_IS_LINKED, ID_OB, ID_SCE, if(), NC_OBJECT, ND_PARENT, ND_TRANSFORM, wmDragID::next, NULL, outliner_find_id(), outliner_search_back(), RPT_INFO, scene, SpaceOutliner::tree, and WM_event_add_notifier().
Referenced by parent_drop_invoke().
|
static |
Definition at line 554 of file outliner_dragdrop.c.
References BA_SELECT, BKE_collection_object_add(), BKE_scene_has_object(), BKE_view_layer_base_find(), C, CTX_data_collection(), CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), DEG_relations_tag_update(), ED_object_base_select(), ELEM, Scene::id, ID_IS_LINKED, ID_OB, ID_RECALC_SELECT, ID_SCE, LISTBASE_FOREACH, Scene::master_collection, NC_SCENE, ND_OB_SELECT, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_ID_drop_find(), scene, Scene::view_layers, WM_drag_get_local_ID_from_event(), and WM_main_add_notifier().
Referenced by OUTLINER_OT_scene_drop().
|
static |
Definition at line 544 of file outliner_dragdrop.c.
References C, ID_OB, ID_SCE, NULL, outliner_ID_drop_find(), and WM_drag_get_local_ID().
Referenced by outliner_dropboxes().