64#include "RNA_prototypes.hh"
128 bool changed =
false;
173 if (base_active != base) {
190 const bool do_extend)
195 Object *ob = id_cast<Object *>(tselem->
id);
277 for (ebone = ebone_parent->
next; ebone; ebone = ebone->
next) {
306 ob = id_cast<Object *>(tselem->
id);
312 ob = id_cast<Object *>(parent_tselem->
id);
326 if (sce && scene != sce) {
337 if (base !=
nullptr) {
368 else if (recursive) {
461 Scene *sce =
nullptr;
467 sce = id_cast<Scene *>(tselem->
id);
472 if (sce && scene != sce) {
480 Object *ob = id_cast<Object *>(tselem->
id);
490 bGPdata *gpd = id_cast<bGPdata *>(tselem->
id);
509 if (
node.is_layer()) {
514 GreasePencilv3LayerGroup,
520 if (
node.is_group()) {
528 GreasePencilv3LayerGroup,
557 Object *ob = id_cast<Object *>(tselem->
id);
564 *bmain, scene, view_layer,
nullptr);
566 for (
Object *ob : objects) {
570 if (
ELEM(
nullptr, ob_iter, ob_iter->
pose, ob_iter->
data)) {
584 Bone *bone = pchan->bone_get(*ob);
621 for (
Bone *bone_iter = arm->
bonebase.first(); bone_iter !=
nullptr;
622 bone_iter = bone_iter->next)
678 *bmain, scene, view_layer,
nullptr, &ob_params);
704 Object *ob = id_cast<Object *>(tselem->
id);
715 Object *ob = id_cast<Object *>(tselem->
id);
727 Object *ob = id_cast<Object *>(tselem->
id);
749 if (!sequencer_scene) {
777 if (!sequencer_scene) {
783 select_single_seq(strip, 1);
785 Strip *p =
ed->current_strips()->first();
787 if ((!p->
data) || (!p->
data->stripdata) || (p->
data->stripdata->filename[0] ==
'\0')) {
793 if (
STREQ(p->strip->stripdata->filename, strip->
data->stripdata->filename)) {
794 select_single_seq(p, 0);
833 const bool handle_all_types)
840 if (handle_all_types) {
863 Object *ob = id_cast<Object *>(parent_tselem->
id);
882 switch (tselem->
type) {
955 const Object *ob = id_cast<const Object *>(tselem->
id);
971 const bArmature *arm = id_cast<const bArmature *>(tselem->
id);
975 if (ob && ob->
data == id_cast<const ID *>(arm)) {
995 const Object *ob = id_cast<const Object *>(tselem->
id);
1012 const Object *ob = id_cast<const Object *>(tselem->
id);
1016 const_cast<Object *
>(ob));
1017 if (base ==
nullptr) {
1032 const Object *ob = id_cast<const Object *>(tselem->
id);
1034 if (ob == ob_pose && ob->
pose) {
1047 if (view_layer == te_view_layer) {
1068 if (!sequencer_scene) {
1133 const Object *ob = id_cast<const Object *>(
1168 if (tselem->
id == id_cast<ID *>(tvc.
scene)) {
1178 if (tep ==
nullptr) {
1183 if (tselem->
id == id_cast<const ID *>(scene)) {
1191 const Object *ob = id_cast<const Object *>(
1220 if (
const Object *ob = id_cast<Object *>(
1223 if (ob->shapenr == te->
index + 1) {
1234 switch (tselem->
type) {
1363 switch (tselem->
type) {
1368 Object *ob = id_cast<Object *>(parent_tselem->
id);
1439 bArmature *arm = id_cast<bArmature *>(tselem->
id);
1447 bArmature *arm = id_cast<bArmature *>(tselem->
id);
1455 Object *ob = id_cast<Object *>(tselem->
id);
1464 Object *ob = id_cast<Object *>(tselem->
id);
1479 Object *ob = id_cast<Object *>(tselem->
id);
1531 const bool recursive,
1532 const bool do_activate_data)
1547 else if (do_activate_data) {
1560 TreeStoreElem *tselem = TREESTORE(te);
1561 if ((tselem->type == TSE_SOME_ID) && (te->idcode == ID_OB)) {
1562 tselem->flag |= TSE_SELECTED;
1568 if (do_activate_data ==
false) {
1571 else if (te->idcode ==
ID_SCE) {
1572 if (tvc.scene != id_cast<Scene *>(tselem->id)) {
1577 Collection *gr = id_cast<Collection *>(tselem->id);
1605 if (base !=
nullptr) {
1621 else if (do_activate_data) {
1630 const short select_flag)
1643 if (clear_flag && !recursive) {
1689 return parent_collection;
1751 bool selecting_before = selecting;
1754 if (
ELEM(&te, active, cursor)) {
1755 selecting = !selecting;
1758 if (can_select && (selecting_before || selecting)) {
1766 Collection *child_collection = in_collection;
1768 child_collection =
static_cast<LayerCollection *
>(te.directdata)->collection;
1771 &te.subtree, active, cursor, selecting, recurse, child_collection);
1803 if (active == cursor) {
1818 &space_outliner->
runtime->
tree, active, cursor,
false, recurse, in_collection);
1847 const float view_mval[2])
1867 const bool use_range,
1868 const bool deselect_all,
1875 bool changed =
false, rebuild_tree =
false;
1887 space_outliner, &space_outliner->
runtime->
tree, view_mval[1])))
1901 bool merged_elements =
false;
1902 bool is_over_icon =
false;
1904 space_outliner, te, view_mval[0], &merged_elements, &is_over_icon);
1907 if (merged_elements) {
1923 if (!recurse && (extend || use_range) && is_over_icon) {
1929 C, space_outliner, activate_te, extend, (recurse && is_over_icon), parent_collection);
2009 ot->
name =
"Select";
2010 ot->
idname =
"OUTLINER_OT_item_activate";
2011 ot->
description =
"Handle mouse clicks to select and activate items";
2020 prop =
RNA_def_boolean(ot->
srna,
"extend",
false,
"Extend",
"Extend selection for activation");
2023 ot->
srna,
"extend_range",
false,
"Extend Range",
"Select a range from active element");
2029 "Deselect On Nothing",
2030 "Deselect all when nothing under the cursor");
2034 ot->
srna,
"recurse",
false,
"Recurse",
"Select objects recursively from active element");
2099 space_outliner, &space_outliner->
runtime->
tree, view_mval[1]);
2116 ot->
name =
"Box Select";
2117 ot->
idname =
"OUTLINER_OT_select_box";
2118 ot->
description =
"Use box selection to select tree elements";
2135 ot->
srna,
"tweak",
false,
"Tweak",
"Tweak gesture from empty space for box selection");
2181 while (successor->
parent) {
2186 successor = successor->
parent;
2200 else if (te->
next) {
2220 else if (!toggle_all && te->
parent) {
2246 const int direction,
2248 const bool toggle_all)
2252 switch (direction) {
2287 active_te = space_outliner->
runtime->
tree.first();
2294 active_te = active_te->
parent;
2310 if (te->
ys > y_max) {
2313 else if (te->
ys < y_min) {
2354 ot->
name =
"Walk Select";
2355 ot->
idname =
"OUTLINER_OT_select_walk";
2356 ot->
description =
"Use walk navigation to select tree elements";
2370 ot->
srna,
"toggle_all",
false,
"Toggle All",
"Toggle open/close hierarchy");
Functions to deal with Armatures.
C++ functions to deal with Armature collections (i.e. the successor of bone layers).
#define FOREACH_COLLECTION_OBJECT_RECURSIVE_END
#define FOREACH_COLLECTION_OBJECT_RECURSIVE_BEGIN(_collection, _object)
Low-level operations for grease pencil.
General operations, lookup, etc. for blender objects.
Object is a sort of wrapper for general info.
#define OB_TYPE_SUPPORT_EDITMODE(_type)
#define EBONE_SELECTABLE(arm, ebone)
#define SEL_OP_USE_PRE_DESELECT(sel_op)
#define ND_BONE_COLLECTION
#define NS_LAYER_COLLECTION
void activate(bool forceActivation=false) const
const T & data(const Action &owning_action) const
Strip & get_strip() const
Strip & get_strip() const
void bone_deselect(bPoseChannel *pchan)
bool bone_is_visible(const bArmature *armature, const Bone *bone)
bool bone_is_selectable(const bArmature *armature, const bke::PChanBoneConst pchanbone)
void bone_select(bPoseChannel *pchan)
void base_select(Base *base, eObjectSelect_Mode mode)
void mode_generic_exit(Main *bmain, Depsgraph *depsgraph, Scene *scene, Object *ob)
bool editmode_enter_ex(Main *bmain, Scene *scene, Object *ob, int flag)
void base_activate_with_mode_exit_if_needed(bContext *C, Base *base)
bool mode_set(bContext *C, eObjectMode mode)
bool editmode_exit_ex(Main *bmain, Scene *scene, Object *obedit, int flag)
void all_open(const SpaceOutliner &space_outliner, const ConstVisitorFn visitor)
void all(const SpaceOutliner &space_outliner, const ConstVisitorFn visitor)
static void tree_element_bone_activate(bContext *C, const Main &bmain, const Scene *scene, ViewLayer *view_layer, TreeElement *te, TreeStoreElem *tselem, const eOLSetState set, bool recursive)
bool outliner_item_is_co_within_close_toggle(const TreeElement *te, float view_co_x)
static void tree_element_defgroup_activate(bContext *C, TreeElement *te, TreeStoreElem *tselem)
static void tree_element_constraint_activate(bContext *C, const Scene *scene, ViewLayer *view_layer, TreeElement *te, TreeStoreElem *tselem, const eOLSetState set)
TreeElement * outliner_find_item_at_y(const SpaceOutliner *space_outliner, const ListBaseT< TreeElement > *tree, float view_co_y)
void outliner_tag_redraw_avoid_rebuild_on_open_change(const SpaceOutliner *space_outliner, ARegion *region)
static void tree_element_master_collection_activate(const bContext *C)
static void do_outliner_range_select(bContext *C, SpaceOutliner *space_outliner, TreeElement *cursor, const bool extend, const bool recurse, Collection *in_collection)
static void tree_element_world_activate(bContext *C, Scene *scene, TreeElement *te)
static void do_outliner_item_activate_tree_element(bContext *C, const TreeViewContext &tvc, SpaceOutliner *space_outliner, TreeElement *te, TreeStoreElem *tselem, const bool extend, const bool recursive, const bool do_activate_data)
static void tree_element_gplayer_activate(bContext *C, TreeElement *te, TreeStoreElem *tselem)
static void do_outliner_ebone_select_recursive(bArmature *arm, EditBone *ebone_parent, bool select)
static eOLDrawState tree_element_active_camera_get(const Scene *scene, const TreeElement *te)
eOLDrawState tree_element_type_active_state_get(const TreeViewContext &tvc, const TreeElement *te, const TreeStoreElem *tselem)
static wmOperatorStatus outliner_item_activate_invoke(bContext *C, wmOperator *op, const wmEvent *event)
static eOLDrawState tree_element_bone_collection_state_get(const TreeElement *te, const TreeStoreElem *tselem)
static void outliner_sync_to_properties_editors(const bContext *C, PointerRNA *ptr, const eSpaceButtons_Context context)
static eOLDrawState tree_element_pose_state_get(const Main &bmain, const Scene *scene, const ViewLayer *view_layer, const TreeStoreElem *tselem)
static void tree_elemment_shapekey_active_set(bContext *C, TreeElement *te)
static void outliner_box_select(bContext *C, SpaceOutliner *space_outliner, const rctf *rectf, const bool select)
static void do_outliner_bone_select_recursive(bArmature *arm, Bone *bone_parent, bool select)
TreeElement * outliner_find_item_at_x_in_row(const SpaceOutliner *space_outliner, TreeElement *parent_te, float view_co_x, bool *r_is_merged_icon, bool *r_is_over_icon)
static eOLDrawState tree_element_active_material_get(const Main &bmain, const Scene *scene, ViewLayer *view_layer, const TreeElement *te)
static void do_outliner_item_posemode_toggle(bContext *C, Scene *scene, Base *base)
static eOLDrawState tree_element_defgroup_state_get(const Main &bmain, const Scene *scene, ViewLayer *view_layer, const TreeElement *te, const TreeStoreElem *tselem)
static eOLDrawState tree_element_viewlayer_state_get(const ViewLayer *view_layer, const TreeElement *te)
static bool outliner_is_co_within_active_mode_column(bContext *C, SpaceOutliner *space_outliner, const float view_mval[2])
static TreeElement * outliner_walk_left(SpaceOutliner *space_outliner, TreeElement *te, bool toggle_all)
float outliner_right_columns_width(const SpaceOutliner *space_outliner)
static eOLDrawState tree_element_posechannel_state_get(const Object *ob_pose, const TreeElement *te, const TreeStoreElem *tselem)
static TreeElement * outliner_find_next_element(SpaceOutliner *space_outliner, TreeElement *te)
static eOLDrawState tree_element_ebone_state_get(const TreeElement *te)
static void do_outliner_item_editmode_toggle(bContext *C, Scene *scene, Base *base)
static void tree_element_bonecollection_activate(bContext *C, TreeElement *te, TreeStoreElem *tselem)
TreeElement * outliner_search_back_te(TreeElement *te, short idcode)
static void outliner_set_properties_tab(bContext *C, TreeElement *te, TreeStoreElem *tselem)
static Collection * outliner_collection_get_for_recursive(bContext *C, TreeElement *te)
static void tree_element_object_activate(bContext *C, Main &bmain, Scene *scene, ViewLayer *view_layer, TreeElement *te, const eOLSetState set, bool recursive)
void tree_element_activate(bContext *C, const TreeViewContext &tvc, TreeElement *te, eOLSetState set, bool handle_all_types)
static eOLDrawState tree_element_shapekey_state_get(const TreeElement *te)
static void tree_element_posechannel_activate(bContext *C, const Scene *scene, ViewLayer *view_layer, TreeElement *te, TreeStoreElem *tselem, const eOLSetState set, bool recursive)
void OUTLINER_OT_item_activate(wmOperatorType *ot)
static void tree_element_camera_activate(bContext *C, Scene *scene, TreeElement *te)
static wmOperatorStatus outliner_walk_select_invoke(bContext *C, wmOperator *op, const wmEvent *)
static eOLDrawState tree_element_gplayer_state_get(const TreeElement *te)
bPoseChannel * outliner_find_parent_bone(TreeElement *te, TreeElement **r_bone_te)
bool outliner_flag_set(SpaceOutliner &space_outliner, const eTreeStoreElem_Flag flag, const short set)
static eOLDrawState tree_element_master_collection_state_get(const ViewLayer *view_layer, const LayerCollection *layer_collection)
static TreeElement * outliner_find_previous_element(SpaceOutliner *space_outliner, TreeElement *te)
static wmOperatorStatus outliner_item_do_activate_from_cursor(bContext *C, const int mval[2], const bool extend, const bool use_range, const bool deselect_all, const bool recurse)
static TreeElement * do_outliner_select_walk(SpaceOutliner *space_outliner, TreeElement *te, const int direction, const bool extend, const bool toggle_all)
static void outliner_walk_scroll(SpaceOutliner *space_outliner, ARegion *region, TreeElement *te)
static TreeElement * outliner_walk_right(SpaceOutliner *space_outliner, TreeElement *te, bool toggle_all)
void outliner_item_mode_toggle(bContext *C, const TreeViewContext &tvc, TreeElement *te, bool do_extend)
void outliner_viewcontext_init(const bContext *C, TreeViewContext *tvc)
void OUTLINER_OT_select_walk(wmOperatorType *ot)
static void tree_element_viewlayer_activate(bContext *C, TreeElement *te)
static TreeElement * find_walk_select_start_element(SpaceOutliner *space_outliner, bool *r_changed)
static void do_outliner_object_select_recursive(const Main &bmain, const Scene *scene, ViewLayer *view_layer, Object *ob_parent, bool select)
static void tree_element_material_activate(bContext *C, const Main &bmain, const Scene *scene, ViewLayer *view_layer, TreeElement *te)
void outliner_scroll_view(SpaceOutliner *space_outliner, ARegion *region, int delta_y)
static void tree_element_modifier_activate(bContext *C, TreeElement *te, TreeStoreElem *tselem, const eOLSetState set)
bool outliner_is_element_visible(const TreeElement *te)
bool outliner_is_co_within_mode_column(SpaceOutliner *space_outliner, const float view_mval[2])
void outliner_item_openclose(TreeElement *te, bool open, bool toggle_all)
static void tree_element_ebone_activate(bContext *C, const Scene *scene, ViewLayer *view_layer, TreeElement *te, TreeStoreElem *tselem, const eOLSetState set, bool recursive)
static eOLDrawState tree_element_active_world_get(const Scene *scene, const TreeElement *te)
static void do_outliner_select_recursive(ListBaseT< TreeElement > *lb, bool selecting, Collection *in_collection)
TreeElementT * tree_element_cast(const TreeElement *te)
ID * outliner_search_back(TreeElement *te, short idcode)
static bool outliner_is_co_within_restrict_columns(const SpaceOutliner *space_outliner, const ARegion *region, float view_co_x)
void merged_element_search_menu_invoke(bContext *C, TreeElement *parent_te, TreeElement *activate_te)
static void tree_element_psys_activate(bContext *C, TreeStoreElem *tselem)
static eOLDrawState tree_element_grease_pencil_node_state_get(const TreeElement *te)
static void do_outliner_item_mode_toggle_generic(bContext *C, const TreeViewContext &tvc, Base *base)
static eOLDrawState tree_element_object_state_get(const TreeViewContext &tvc, const TreeStoreElem *tselem)
static void tree_element_strip_activate(bContext *C, WorkSpace *workspace, TreeElement *te, const eOLSetState set)
static eOLDrawState tree_element_bone_state_get(const Main &bmain, const Scene *scene, ViewLayer *view_layer, const TreeElement *te, const TreeStoreElem *tselem)
static TreeElement * outliner_find_rightmost_visible_child(SpaceOutliner *space_outliner, TreeElement *te)
static eOLDrawState tree_element_strip_state_get(const WorkSpace *workspace, const TreeElement *te)
bool outliner_item_is_co_over_name_icons(const TreeElement *te, float view_co_x)
static void tree_element_strip_dup_activate(WorkSpace *workspace, TreeElement *)
static void tree_element_active_ebone__sel(bContext *C, bArmature *arm, EditBone *ebone, short sel)
void tree_element_type_active_set(bContext *C, const TreeViewContext &tvc, TreeElement *te, TreeStoreElem *tselem, eOLSetState set, bool recursive)
static wmOperatorStatus outliner_box_select_exec(bContext *C, wmOperator *op)
static TreeElement * outliner_element_find_successor_in_parents(TreeElement *te)
static void tree_element_layer_collection_activate(bContext *C, TreeElement *te)
bool outliner_shows_mode_column(const SpaceOutliner &space_outliner)
eOLDrawState tree_element_active_state_get(const TreeViewContext &tvc, const TreeElement *te, const TreeStoreElem *tselem)
static wmOperatorStatus outliner_box_select_invoke(bContext *C, wmOperator *op, const wmEvent *event)
static eOLDrawState tree_element_modifier_state_get(const TreeElement *te, const TreeStoreElem *tselem)
static eOLDrawState tree_element_layer_collection_state_get(const LayerCollection *layer_collection, const TreeElement *te)
static void tree_element_text_activate(bContext *C, TreeElement *te)
void OUTLINER_OT_select_box(wmOperatorType *ot)
static eOLDrawState tree_element_strip_dup_state_get(const TreeElement *te)
static bool do_outliner_range_select_recursive(ListBaseT< TreeElement > *lb, TreeElement *active, TreeElement *cursor, bool selecting, const bool recurse, Collection *in_collection)
static eOLDrawState tree_element_active_scene_get(const TreeViewContext &tvc, const TreeElement *te, const TreeStoreElem *tselem)
static bool can_select_recursive(TreeElement *te, Collection *in_collection)
static void tree_element_grease_pencil_node_activate(bContext *C, TreeElement *te, TreeStoreElem *tselem)
void outliner_item_select(bContext *C, SpaceOutliner *space_outliner, TreeElement *te, short select_flag)
TreeElement * outliner_find_element_with_flag(const ListBaseT< TreeElement > *lb, short flag)
bool deselect_all_strips(const Scene *scene)
Editing * editing_get(const Scene *scene)
void select_active_set(Scene *scene, Strip *strip)
void view2d_region_to_view(const View2D *v2d, float x, float y, float *r_view_x, float *r_view_y) ATTR_NONNULL()
void view2d_region_to_view_rctf(const View2D *v2d, const rctf *rect_src, rctf *rect_dst) ATTR_NONNULL()
void WM_main_add_notifier(uint type, void *reference)
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
void WM_window_set_active_scene(Main *bmain, bContext *C, wmWindow *win, Scene *scene)
void BKE_annotations_layer_active_set(struct bGPdata *gpd, struct bGPDlayer *active)
bool ED_buttons_should_sync_with_outliner(const bContext *C, const SpaceProperties *sbuts, ScrArea *area)
int RNA_enum_get(PointerRNA *ptr, const char *name)
void ED_buttons_set_context(const bContext *C, SpaceProperties *sbuts, PointerRNA *ptr, eSpaceButtons_Context context)
Object * BKE_view_layer_active_object_get(const ViewLayer *view_layer)
void BKE_view_layer_base_select_and_set_active(ViewLayer *view_layer, Base *selbase)
PropertyRNA * RNA_struct_find_property(PointerRNA *ptr, const char *identifier)
bool BKE_layer_collection_activate(ViewLayer *view_layer, LayerCollection *lc)
void RNA_property_update(bContext *C, PointerRNA *ptr, PropertyRNA *prop)
wmOperatorStatus WM_gesture_box_invoke(bContext *C, wmOperator *op, const wmEvent *event)
SpaceOutliner * CTX_wm_space_outliner(const bContext *C)
struct ParticleSystem * psys_get_current(struct Object *ob)
PointerRNA RNA_id_pointer_create(ID *id)
@ BASE_ENABLED_AND_MAYBE_VISIBLE_IN_VIEWPORT
bool ED_armature_ebone_is_child_recursive(EditBone *ebone_parent, EditBone *ebone_child)
void ED_outliner_select_sync_from_outliner(bContext *C, SpaceOutliner *space_outliner)
Vector< Base * > BKE_view_layer_array_from_bases_in_mode_params(const Main &bmain, const Scene *scene, ViewLayer *view_layer, const View3D *v3d, const ObjectsInModeParams *params)
@ eModifierType_ParticleSystem
@ eModifierType_Collision
@ eModifierType_DynamicPaint
wmWindow * CTX_wm_window(const bContext *C)
bool ED_operator_outliner_active(bContext *C)
void BKE_object_defgroup_active_index_set(Object *ob, int new_index)
ViewLayer * WM_window_get_active_view_layer(const wmWindow *win)
void ED_region_tag_redraw(ARegion *region)
bool ED_text_activate_in_screen(bContext *C, Text *text)
@ TSE_BONE_COLLECTION_BASE
@ TSE_VIEW_COLLECTION_BASE
@ TSE_GPENCIL_EFFECT_BASE
void BKE_modifier_panel_expand(ModifierData *md)
ViewLayer * CTX_data_view_layer(const bContext *C)
void ED_outliner_select_sync_from_object_tag(bContext *C)
ModifierData * BKE_object_active_modifier(const Object *ob)
void WM_operator_properties_select_walk_direction(wmOperatorType *ot)
Collection * BKE_collection_object_find(Main *bmain, Scene *scene, Collection *collection, Object *ob)
void RNA_property_int_set(PointerRNA *ptr, PropertyRNA *prop, int value)
void WM_operator_properties_border_to_rctf(wmOperator *op, rctf *r_rect)
Vector< Object * > BKE_object_pose_array_get_unique(const Main &bmain, const Scene *scene, ViewLayer *view_layer, View3D *v3d)
int BLI_findindex(const ListBase *listbase, const void *vlink) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
Scene * WM_window_get_active_scene(const wmWindow *win)
bool ED_object_posemode_exit_ex(Main *bmain, Object *ob)
void DEG_id_tag_update(ID *id, unsigned int flags)
void BKE_report(ReportList *reports, eReportType type, const char *message)
Object * BKE_object_pose_armature_get(Object *ob)
Depsgraph * CTX_data_ensure_evaluated_depsgraph(const bContext *C, bool rna_write_check=false)
Object * CTX_data_edit_object(const bContext *C)
void ED_undo_push(bContext *C, const char *str, UndoEncodeHints hints=UndoEncodeHints(0))
bool BKE_view_layer_synced_ensure(const Main &bmain, const Scene *scene, ViewLayer *view_layer)
@ BCONTEXT_BONE_CONSTRAINT
PointerRNA RNA_pointer_create_discrete(ID *id, StructRNA *type, void *data)
void WM_operator_properties_gesture_box(wmOperatorType *ot)
bool RNA_boolean_get(PointerRNA *ptr, const char *name)
ViewLayer * BKE_view_layer_find_from_collection(const Scene *scene, LayerCollection *lc)
void WM_event_add_notifier(const bContext *C, uint type, void *reference)
void WM_event_drag_start_mval(const wmEvent *event, const ARegion *region, int r_mval[2])
wmMsgBus * CTX_wm_message_bus(const bContext *C)
void ED_undo_group_begin(bContext *C)
void BKE_view_layer_base_deselect_all(const Main &bmain, const Scene *scene, ViewLayer *view_layer)
bool BKE_object_is_in_editmode(const Object *ob)
void WM_windows_scene_data_sync(const ListBaseT< wmWindow > *win_lb, Scene *scene)
wmOperatorStatus WM_gesture_box_modal(bContext *C, wmOperator *op, const wmEvent *event)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
void BKE_shaderfx_panel_expand(ShaderFxData *fx)
Main * CTX_data_main(const bContext *C)
void ANIM_armature_bonecoll_active_set(bArmature *armature, BoneCollection *bcoll)
bool ED_object_posemode_enter_ex(Main *bmain, Object *ob)
void WM_gesture_box_cancel(bContext *C, wmOperator *op)
Base * BKE_view_layer_base_find(ViewLayer *view_layer, Object *ob)
bool BKE_object_is_child_recursive(const Object *ob_parent, const Object *ob_child)
void WM_operator_properties_select_operation_simple(wmOperatorType *ot)
void DEG_relations_tag_update(Main *bmain)
Scene * CTX_data_scene(const bContext *C)
bScreen * CTX_wm_screen(const bContext *C)
bool BKE_collection_has_object_recursive(Collection *collection, Object *ob)
void BKE_constraint_panel_expand(struct bConstraint *con)
void ED_undo_group_end(bContext *C)
void BKE_object_modifier_set_active(Object *ob, ModifierData *md)
PropertyRNA * RNA_def_boolean(StructOrFunctionRNA *cont_, const char *identifier, const bool default_value, const char *ui_name, const char *ui_description)
ReportList * CTX_wm_reports(const bContext *C)
bool ED_operator_region_outliner_active(bContext *C)
bool ED_armature_edit_deselect_all_multi_ex(const Span< Base * > bases)
bool BKE_id_is_editable(const Main *bmain, const ID *id)
bool BKE_object_is_mode_compat(const Object *ob, eObjectMode object_mode)
ARegion * CTX_wm_region(const bContext *C)
void ED_armature_ebone_select_set(EditBone *ebone, bool select)
void ED_region_tag_redraw_no_rebuild(ARegion *region)
ListBaseT< Base > * BKE_view_layer_object_bases_get(ViewLayer *view_layer)
void WM_window_set_active_view_layer(wmWindow *win, ViewLayer *view_layer)
int BKE_object_defgroup_active_index_get(const Object *ob)
#define TSELEM_OPEN(telm, sv)
ListBaseT< Bone > childbase
struct Collection * collection
ListBaseT< wmWindowManager > wm
ListBaseT< ViewLayer > view_layers
struct ToolSettings * toolsettings
ListBaseT< SpaceLink > spacedata
ed::outliner::SpaceOutliner_Runtime * runtime
ListBaseT< LayerCollection > layer_collections
struct Scene * sequencer_scene
struct EditBone * act_edbone
bke::bArmature_Runtime * runtime
ListBaseT< Bone > bonebase
ListBaseT< bPoseChannel > chanbase
ListBaseT< struct ScrArea > areabase
BoneCollection * active_collection
ListBaseT< ed::outliner::TreeElement > tree
TreeStoreElem * store_elem
ListBaseT< TreeElement > subtree
LayerCollection * layer_collection
wmOperatorStatus(*) exec(bContext *C, wmOperator *op) ATTR_WARN_UNUSED_RESULT
void(*) cancel(bContext *C, wmOperator *op)
bool(*) poll(bContext *C) ATTR_WARN_UNUSED_RESULT
wmOperatorStatus(*) invoke(bContext *C, wmOperator *op, const wmEvent *event) ATTR_WARN_UNUSED_RESULT
wmOperatorStatus(*) modal(bContext *C, wmOperator *op, const wmEvent *event) ATTR_WARN_UNUSED_RESULT
#define WM_msg_publish_rna_prop(mbus, id_, data_, type_, prop_)