|
Blender V4.3
|
#include <cstdio>#include <cstdlib>#include <cstring>#include "MEM_guardedalloc.h"#include "DNA_anim_types.h"#include "DNA_armature_types.h"#include "DNA_gpencil_legacy_types.h"#include "DNA_grease_pencil_types.h"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "DNA_screen_types.h"#include "DNA_sequence_types.h"#include "DNA_space_types.h"#include "DNA_windowmanager_types.h"#include "DNA_workspace_types.h"#include "BLI_ghash.h"#include "BLI_listbase.h"#include "BLI_utildefines.h"#include "BKE_action.hh"#include "BKE_armature.hh"#include "BKE_blender.hh"#include "BKE_context.hh"#include "BKE_gpencil_legacy.h"#include "BKE_layer.hh"#include "BKE_object.hh"#include "BKE_tracking.h"#include "RNA_access.hh"#include "RNA_prototypes.hh"#include "ED_anim_api.hh"#include "ED_armature.hh"#include "ED_clip.hh"#include "ED_gpencil_legacy.hh"#include "SEQ_channels.hh"#include "SEQ_select.hh"#include "SEQ_sequencer.hh"#include "SEQ_transform.hh"#include "UI_interface.hh"#include "WM_api.hh"#include "ANIM_bone_collections.hh"#include "screen_intern.hh"Go to the source code of this file.
Typedefs | |
| using | context_callback = eContextResult (*)(const bContext *C, bContextDataResult *result) |
Variables | |
| const char * | screen_context_dir [] |
| static GHash * | ed_screen_context_functions = nullptr |
| using context_callback = eContextResult (*)(const bContext *C, bContextDataResult *result) |
Definition at line 1139 of file screen_context.cc.
| int ed_screen_context | ( | const bContext * | C, |
| const char * | member, | ||
| bContextDataResult * | result ) |
Entry point for the screen context.
Definition at line 1218 of file screen_context.cc.
References BLI_ghash_lookup(), callback, CTX_data_dir(), CTX_data_dir_set(), CTX_RESULT_MEMBER_NOT_FOUND, CTX_RESULT_OK, ed_screen_context_functions, ensure_ed_screen_context_functions(), and screen_context_dir.
Referenced by screen_refresh().
|
static |
Definition at line 1152 of file screen_context.cc.
References BKE_blender_atexit_register(), BLI_ghash_new(), BLI_ghashutil_strcmp(), BLI_ghashutil_strhash_p_murmur(), ed_screen_context_functions, free_context_function_ghash(), register_context_function(), screen_ctx_active_action(), screen_ctx_active_annotation_layer(), screen_ctx_active_bone(), screen_ctx_active_editable_fcurve(), screen_ctx_active_nla_strip(), screen_ctx_active_nla_track(), screen_ctx_active_object(), screen_ctx_active_operator(), screen_ctx_active_pose_bone(), screen_ctx_active_sequence_strip(), screen_ctx_annotation_data(), screen_ctx_annotation_data_owner(), screen_ctx_asset_library(), screen_ctx_edit_object(), screen_ctx_editable_bones(), screen_ctx_editable_fcurves(), screen_ctx_editable_objects(), screen_ctx_grease_pencil_data(), screen_ctx_image_paint_object(), screen_ctx_object(), screen_ctx_objects_in_mode(), screen_ctx_objects_in_mode_unique_data(), screen_ctx_particle_edit_object(), screen_ctx_pose_object(), screen_ctx_property(), screen_ctx_scene(), screen_ctx_sculpt_object(), screen_ctx_selectable_objects(), screen_ctx_selected_bones(), screen_ctx_selected_editable_actions(), screen_ctx_selected_editable_bones(), screen_ctx_selected_editable_fcurves(), screen_ctx_selected_editable_keyframes(), screen_ctx_selected_editable_objects(), screen_ctx_selected_editable_sequences(), screen_ctx_selected_movieclip_tracks(), screen_ctx_selected_nla_strips(), screen_ctx_selected_objects(), screen_ctx_selected_pose_bones(), screen_ctx_selected_pose_bones_from_active_object(), screen_ctx_selected_sequences(), screen_ctx_selected_visible_actions(), screen_ctx_selected_visible_fcurves(), screen_ctx_sequences(), screen_ctx_ui_list(), screen_ctx_vertex_paint_object(), screen_ctx_visible_bones(), screen_ctx_visible_fcurves(), screen_ctx_visible_objects(), screen_ctx_visible_pose_bones(), and screen_ctx_weight_paint_object().
Referenced by ed_screen_context().
|
static |
Definition at line 1142 of file screen_context.cc.
References BLI_ghash_free(), and ed_screen_context_functions.
Referenced by ensure_ed_screen_context_functions().
|
inlinestatic |
Definition at line 1146 of file screen_context.cc.
References BLI_ghash_insert(), and ed_screen_context_functions.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 980 of file screen_context.cc.
References screen_ctx_sel_actions_impl().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 832 of file screen_context.cc.
References BKE_gpencil_layer_active_get(), CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_area(), CTX_wm_screen(), CTX_wm_window(), ED_annotation_data_get_active_direct(), bGPdata::id, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 485 of file screen_context.cc.
References bArmature::act_bone, bArmature::act_edbone, BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), Object::data, bArmature::edbo, bArmature::id, OB_ARMATURE, Object::type, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1042 of file screen_context.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_ACTIVE, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMTYPE_FCURVE, ANIMTYPE_NLACURVE, CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, bAnimContext::data, bAnimContext::datatype, ELEM, LISTBASE_FOREACH, SPACE_GRAPH, and bAnimContext::spacetype.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 741 of file screen_context.cc.
References ANIM_nla_context_strip_ptr(), CTX_data_pointer_set_ptr(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, and ptr.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 732 of file screen_context.cc.
References ANIM_nla_context_track_ptr(), CTX_data_pointer_set_ptr(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, and ptr.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 525 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 865 of file screen_context.cc.
References CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_space_file(), SpaceFile::op, wmOperator::ptr, UI_context_active_operator_get(), and WM_operator_last_redo().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 509 of file screen_context.cc.
References BKE_object_pose_armature_get(), BKE_pose_channel_active_if_bonecoll_visible(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), Object::id, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 670 of file screen_context.cc.
References CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), SEQ_select_active_get(), and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 800 of file screen_context.cc.
References CTX_data_id_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_area(), CTX_wm_screen(), CTX_wm_window(), ED_annotation_data_get_active_direct(), bGPdata::id, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 814 of file screen_context.cc.
References CTX_data_pointer_set_ptr(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_area(), CTX_wm_screen(), CTX_wm_window(), ED_annotation_data_get_pointers_direct(), ptr, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1115 of file screen_context.cc.
References WorkSpace::asset_library_ref, CTX_data_pointer_set(), CTX_RESULT_OK, CTX_wm_workspace(), and WorkSpace::id.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 576 of file screen_context.cc.
References BKE_view_layer_edit_object_get(), BKE_view_layer_synced_ensure(), CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 324 of file screen_context.cc.
References screen_ctx_visible_or_editable_bones_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1024 of file screen_context.cc.
References ANIMFILTER_FOREDIT, and screen_ctx_sel_edit_fcurves_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 196 of file screen_context.cc.
References BASE_EDITABLE, BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), CTX_data_id_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_OK, CTX_wm_view3d(), CTX_wm_window(), LISTBASE_FOREACH, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 851 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_id_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), Object::data, GreasePencil::id, OB_GREASE_PENCIL, Object::type, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 630 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, Object::mode, OB_MODE_TEXTURE_PAINT, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 562 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 213 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_id_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_OK, CTX_wm_view3d(), CTX_wm_window(), FOREACH_OBJECT_IN_MODE_BEGIN, FOREACH_OBJECT_IN_MODE_END, Object::mode, OB_MODE_OBJECT, Object::type, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 231 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_id_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_OK, CTX_wm_view3d(), CTX_wm_window(), FOREACH_OBJECT_IN_MODE_BEGIN, FOREACH_OBJECT_IN_MODE_END, ID_TAG_DOIT, Object::mode, OB_MODE_OBJECT, Object::type, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 643 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, Object::mode, OB_MODE_PARTICLE_EDIT, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 657 of file screen_context.cc.
References BKE_object_pose_armature_get(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 540 of file screen_context.cc.
References CTX_data_pointer_set_ptr(), CTX_data_prop_set(), CTX_DATA_TYPE_PROPERTY, CTX_data_type_set(), CTX_RESULT_OK, PointerRNA::data, ptr, RNA_property_array_check(), and UI_context_active_but_prop_get().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 124 of file screen_context.cc.
References CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 590 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, Object::mode, OB_MODE_SCULPT, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 889 of file screen_context.cc.
References ACHANNEL_SETTING_SELECT, SpaceAction::action, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIM_channel_action_get(), ANIM_channel_setting_get(), ANIMFILTER_ACTIVE, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, ANIMFILTER_SEL, BLI_assert_unreachable, BLI_gset_add(), BLI_gset_free(), BLI_gset_ptr_new(), CTX_data_id_list_add(), CTX_data_id_pointer_set(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, bAnimContext::data, bAnimContext::datatype, ELEM, bAction::id, ID_IS_EDITABLE, LISTBASE_FOREACH, SpaceAction::mode, SACTCONT_ACTION, SACTCONT_SHAPEKEY, bAnimContext::sl, SPACE_ACTION, SPACE_GRAPH, and bAnimContext::spacetype.
Referenced by screen_ctx_active_action(), screen_ctx_selected_editable_actions(), and screen_ctx_selected_visible_actions().
|
static |
Definition at line 994 of file screen_context.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_VISIBLE, ANIMFILTER_NODUPLIS, ANIMTYPE_FCURVE, ANIMTYPE_NLACURVE, CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, bAnimContext::data, bAnimContext::datatype, ELEM, LISTBASE_FOREACH, SPACE_ACTION, SPACE_GRAPH, and bAnimContext::spacetype.
Referenced by screen_ctx_editable_fcurves(), screen_ctx_selected_editable_fcurves(), screen_ctx_selected_visible_fcurves(), and screen_ctx_visible_fcurves().
|
static |
Definition at line 147 of file screen_context.cc.
References BASE_SELECTABLE, BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), CTX_data_id_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_OK, CTX_wm_view3d(), CTX_wm_window(), LISTBASE_FOREACH, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 390 of file screen_context.cc.
References screen_ctx_selected_bones_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 328 of file screen_context.cc.
References ARM_MIRROR_EDIT, BKE_view_layer_array_from_objects_in_edit_mode_unique_data(), BKE_view_layer_edit_object_get(), BKE_view_layer_synced_ensure(), BONE_SELECTED, CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_view3d(), CTX_wm_window(), Object::data, EBONE_EDITABLE, EBONE_VISIBLE, ED_armature_ebone_get_mirrored(), bArmature::edbo, bArmature::flag, EditBone::flag, bArmature::id, LISTBASE_FOREACH, OB_ARMATURE, Object::type, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by screen_ctx_selected_bones(), and screen_ctx_selected_editable_bones().
|
static |
Definition at line 989 of file screen_context.cc.
References screen_ctx_sel_actions_impl().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 394 of file screen_context.cc.
References screen_ctx_selected_bones_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1032 of file screen_context.cc.
References ANIMFILTER_FOREDIT, ANIMFILTER_SEL, and screen_ctx_sel_edit_fcurves_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1067 of file screen_context.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_LIST_VISIBLE, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, ANIMTYPE_FCURVE, ANIMTYPE_NLACURVE, FCurve::bezt, CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, bAnimContext::data, bAnimContext::datatype, ELEM, BezTriple::f2, LISTBASE_FOREACH, SELECT, SPACE_ACTION, SPACE_GRAPH, bAnimContext::spacetype, and FCurve::totvert.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 179 of file screen_context.cc.
References BASE_SELECTED_EDITABLE, BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), CTX_data_id_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_OK, CTX_wm_view3d(), CTX_wm_window(), LISTBASE_FOREACH, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 712 of file screen_context.cc.
References CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), LISTBASE_FOREACH, SELECT, SEQ_channels_displayed_get(), SEQ_editing_get(), SEQ_transform_is_locked(), Editing::seqbasep, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 776 of file screen_context.cc.
References BKE_tracking_object_get_active(), CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_space_clip(), ED_space_clip_get_clip(), LISTBASE_FOREACH, TRACK_SELECTED, and MovieTrackingObject::tracks.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 750 of file screen_context.cc.
References ALE_NLASTRIP, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_DATA_VISIBLE, CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, bAnimContext::data, bAnimContext::datatype, LISTBASE_FOREACH, NLASTRIP_FLAG_SELECT, and NlaTrack::strips.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 163 of file screen_context.cc.
References BASE_SELECTED, BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), CTX_data_id_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_OK, CTX_wm_view3d(), CTX_wm_window(), LISTBASE_FOREACH, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 429 of file screen_context.cc.
References BKE_object_pose_armature_get(), BKE_view_layer_active_object_get(), CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_view3d(), CTX_wm_window(), Object::data, FOREACH_OBJECT_IN_MODE_BEGIN, FOREACH_OBJECT_IN_MODE_END, FOREACH_PCHAN_SELECTED_IN_OBJECT_BEGIN, FOREACH_PCHAN_SELECTED_IN_OBJECT_END, Object::id, Object::mode, OB_ARMATURE, OB_MODE_POSE, Object::pose, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 458 of file screen_context.cc.
References BKE_object_pose_armature_get(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), Object::data, FOREACH_PCHAN_SELECTED_IN_OBJECT_BEGIN, FOREACH_PCHAN_SELECTED_IN_OBJECT_END, Object::id, Object::mode, OB_MODE_POSE, Object::pose, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 696 of file screen_context.cc.
References CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), LISTBASE_FOREACH, SELECT, SEQ_editing_get(), Editing::seqbasep, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 984 of file screen_context.cc.
References screen_ctx_sel_actions_impl().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1037 of file screen_context.cc.
References ANIMFILTER_SEL, and screen_ctx_sel_edit_fcurves_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 682 of file screen_context.cc.
References CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), LISTBASE_FOREACH, SEQ_editing_get(), Editing::seqbasep, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1123 of file screen_context.cc.
References CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_region(), CTX_wm_window(), wmWindow::eventstate, and UI_list_find_mouse_over().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 604 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, Object::mode, OB_MODE_VERTEX_PAINT, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 320 of file screen_context.cc.
References screen_ctx_visible_or_editable_bones_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1028 of file screen_context.cc.
References screen_ctx_sel_edit_fcurves_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 131 of file screen_context.cc.
References BASE_VISIBLE, BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), CTX_data_id_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_OK, CTX_wm_view3d(), CTX_wm_window(), LISTBASE_FOREACH, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 257 of file screen_context.cc.
References ARM_MIRROR_EDIT, BKE_view_layer_array_from_objects_in_edit_mode_unique_data(), BKE_view_layer_edit_object_get(), BKE_view_layer_synced_ensure(), BONE_SELECTED, CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_view3d(), CTX_wm_window(), Object::data, EBONE_EDITABLE, EBONE_VISIBLE, ED_armature_ebone_get_mirrored(), bArmature::edbo, bArmature::flag, EditBone::flag, bArmature::id, LISTBASE_FOREACH, OB_ARMATURE, Object::type, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by screen_ctx_editable_bones(), and screen_ctx_visible_bones().
|
static |
Definition at line 399 of file screen_context.cc.
References BKE_object_pose_armature_get(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_view3d(), CTX_wm_window(), Object::data, FOREACH_OBJECT_IN_MODE_BEGIN, FOREACH_OBJECT_IN_MODE_END, FOREACH_PCHAN_SELECTED_IN_OBJECT_END, FOREACH_PCHAN_VISIBLE_IN_OBJECT_BEGIN, FOREACH_PCHAN_VISIBLE_IN_OBJECT_END, Object::id, Object::mode, OB_ARMATURE, OB_MODE_POSE, Object::pose, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 617 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, Object::mode, OB_MODE_ALL_WEIGHT_PAINT, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1140 of file screen_context.cc.
Referenced by ed_screen_context(), ensure_ed_screen_context_functions(), free_context_function_ghash(), and register_context_function().
| const char* screen_context_dir[] |
Definition at line 62 of file screen_context.cc.
Referenced by ed_screen_context().