|
Blender V5.0
|
#include <cstdlib>#include <cstring>#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_listbase.h"#include "BLI_map.hh"#include "BLI_set.hh"#include "BLI_utildefines.h"#include "BKE_action.hh"#include "BKE_armature.hh"#include "BKE_context.hh"#include "BKE_gpencil_legacy.h"#include "BKE_layer.hh"#include "BKE_library.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_action.hh"#include "ANIM_armature.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 [] |
| using context_callback = eContextResult (*)(const bContext *C, bContextDataResult *result) |
Definition at line 1158 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 1223 of file screen_context.cc.
References C, CTX_data_dir(), CTX_data_dir_set(), CTX_RESULT_MEMBER_NOT_FOUND, CTX_RESULT_OK, ensure_ed_screen_context_functions(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_default(), result, and screen_context_dir.
Referenced by screen_refresh_if_needed().
|
static |
Definition at line 1161 of file screen_context.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), 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_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_strips(), 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_strips(), screen_ctx_selected_visible_actions(), screen_ctx_selected_visible_fcurves(), screen_ctx_sequencer_scene(), screen_ctx_strips(), 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 921 of file screen_context.cc.
References C, result, and screen_ctx_sel_actions_impl().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 772 of file screen_context.cc.
References BKE_gpencil_layer_active_get(), C, 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, result, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 486 of file screen_context.cc.
References bArmature::act_bone, bArmature::act_edbone, BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), Object::data, bArmature::edbo, bArmature::id, OB_ARMATURE, result, 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 983 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, C, CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, bAnimContext::data, bAnimContext::datatype, ELEM, filter, LISTBASE_FOREACH, result, SPACE_GRAPH, and bAnimContext::spacetype.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 681 of file screen_context.cc.
References ANIM_nla_context_strip_ptr(), C, CTX_data_pointer_set_ptr(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, ptr, and result.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 672 of file screen_context.cc.
References ANIM_nla_context_track_ptr(), C, CTX_data_pointer_set_ptr(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, ptr, and result.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 526 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 805 of file screen_context.cc.
References C, CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_space_file(), SpaceFile::op, wmOperator::ptr, result, UI_context_active_operator_get(), and WM_operator_last_redo().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 510 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(), C, CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), Object::id, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1078 of file screen_context.cc.
References C, CTX_data_pointer_set(), CTX_data_sequencer_scene(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, Scene::id, result, and blender::seq::select_active_get().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 740 of file screen_context.cc.
References C, 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, result, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 754 of file screen_context.cc.
References C, 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, result, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1056 of file screen_context.cc.
References WorkSpace::asset_library_ref, C, CTX_data_pointer_set(), CTX_RESULT_OK, CTX_wm_workspace(), WorkSpace::id, and result.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 577 of file screen_context.cc.
References BKE_view_layer_edit_object_get(), BKE_view_layer_synced_ensure(), C, CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 325 of file screen_context.cc.
References C, result, and screen_ctx_visible_or_editable_bones_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 965 of file screen_context.cc.
References ANIMFILTER_FOREDIT, C, result, and screen_ctx_sel_edit_fcurves_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 197 of file screen_context.cc.
References BASE_EDITABLE, BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), C, Collection, CTX_data_id_list_add(), CTX_data_type_set(), CTX_RESULT_OK, CTX_wm_view3d(), CTX_wm_window(), LISTBASE_FOREACH, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 791 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, CTX_data_id_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), Object::data, GreasePencil::id, OB_GREASE_PENCIL, result, 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 631 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, Object::mode, OB_MODE_TEXTURE_PAINT, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 563 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 214 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, Collection, CTX_data_id_list_add(), 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, result, 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 232 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, Collection, CTX_data_id_list_add(), 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, result, 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 644 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, Object::mode, OB_MODE_PARTICLE_EDIT, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 658 of file screen_context.cc.
References BKE_object_pose_armature_get(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 541 of file screen_context.cc.
References C, CTX_data_pointer_set_ptr(), CTX_data_prop_set(), CTX_data_type_set(), CTX_RESULT_OK, Property, ptr, result, RNA_property_array_check(), and UI_context_active_but_prop_get().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 125 of file screen_context.cc.
References C, CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Scene::id, result, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 591 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, Object::mode, OB_MODE_SCULPT, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 829 of file screen_context.cc.
References ACHANNEL_SETTING_SELECT, bAnimContext::active_action, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), 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, C, Collection, CTX_data_id_list_add(), CTX_data_id_pointer_set(), CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, bAnimContext::data, bAnimContext::datatype, ELEM, filter, bAction::id, ID_IS_EDITABLE, LISTBASE_FOREACH, SpaceAction::mode, result, 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 935 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, C, Collection, CTX_data_list_add(), CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, bAnimContext::data, bAnimContext::datatype, ELEM, filter, LISTBASE_FOREACH, result, 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 148 of file screen_context.cc.
References BASE_SELECTABLE, BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), C, Collection, CTX_data_id_list_add(), CTX_data_type_set(), CTX_RESULT_OK, CTX_wm_view3d(), CTX_wm_window(), LISTBASE_FOREACH, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 391 of file screen_context.cc.
References C, result, and screen_ctx_selected_bones_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 329 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(), blender::animrig::bone_is_visible(), BONE_SELECTED, C, Collection, CTX_data_list_add(), CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_view3d(), CTX_wm_window(), Object::data, EBONE_EDITABLE, ED_armature_ebone_get_mirrored(), bArmature::edbo, bArmature::flag, EditBone::flag, bArmature::id, LISTBASE_FOREACH, OB_ARMATURE, result, 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 930 of file screen_context.cc.
References C, result, and screen_ctx_sel_actions_impl().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 395 of file screen_context.cc.
References C, result, and screen_ctx_selected_bones_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 973 of file screen_context.cc.
References ANIMFILTER_FOREDIT, ANIMFILTER_SEL, C, result, and screen_ctx_sel_edit_fcurves_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1008 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, C, Collection, CTX_data_list_add(), CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, bAnimContext::data, bAnimContext::datatype, ELEM, BezTriple::f2, filter, i, LISTBASE_FOREACH, result, SELECT, SPACE_ACTION, SPACE_GRAPH, and bAnimContext::spacetype.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 180 of file screen_context.cc.
References BASE_SELECTED_EDITABLE, BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), C, Collection, CTX_data_id_list_add(), CTX_data_type_set(), CTX_RESULT_OK, CTX_wm_view3d(), CTX_wm_window(), LISTBASE_FOREACH, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1125 of file screen_context.cc.
References C, blender::seq::channels_displayed_get(), Collection, CTX_data_list_add(), CTX_data_sequencer_scene(), CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, blender::seq::editing_get(), Scene::id, LISTBASE_FOREACH, result, SELECT, and blender::seq::transform_is_locked().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 716 of file screen_context.cc.
References BKE_tracking_object_get_active(), C, Collection, CTX_data_list_add(), CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_space_clip(), ED_space_clip_get_clip(), MovieClip::id, LISTBASE_FOREACH, result, TRACK_SELECTED, MovieClip::tracking, and MovieTrackingObject::tracks.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 690 of file screen_context.cc.
References ALE_NLASTRIP, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_DATA_VISIBLE, C, Collection, CTX_data_list_add(), CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, bAnimContext::data, bAnimContext::datatype, LISTBASE_FOREACH, NLASTRIP_FLAG_SELECT, result, and NlaTrack::strips.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 164 of file screen_context.cc.
References BASE_SELECTED, BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), C, Collection, CTX_data_id_list_add(), CTX_data_type_set(), CTX_RESULT_OK, CTX_wm_view3d(), CTX_wm_window(), LISTBASE_FOREACH, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 430 of file screen_context.cc.
References BKE_object_pose_armature_get(), BKE_view_layer_active_object_get(), C, Collection, CTX_data_list_add(), 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, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 459 of file screen_context.cc.
References BKE_object_pose_armature_get(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, Collection, CTX_data_list_add(), 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, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1107 of file screen_context.cc.
References C, Collection, CTX_data_list_add(), CTX_data_sequencer_scene(), CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, blender::seq::editing_get(), Scene::id, LISTBASE_FOREACH, result, and SELECT.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 925 of file screen_context.cc.
References C, result, and screen_ctx_sel_actions_impl().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 978 of file screen_context.cc.
References ANIMFILTER_SEL, C, result, and screen_ctx_sel_edit_fcurves_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1146 of file screen_context.cc.
References C, CTX_data_id_pointer_set(), CTX_data_sequencer_scene(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, Scene::id, and result.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1091 of file screen_context.cc.
References C, Collection, CTX_data_list_add(), CTX_data_sequencer_scene(), CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, blender::seq::editing_get(), Scene::id, LISTBASE_FOREACH, and result.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1064 of file screen_context.cc.
References C, CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_region(), CTX_wm_window(), wmWindow::eventstate, result, and UI_list_find_mouse_over().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 605 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, Object::mode, OB_MODE_VERTEX_PAINT, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 321 of file screen_context.cc.
References C, result, and screen_ctx_visible_or_editable_bones_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 969 of file screen_context.cc.
References C, result, and screen_ctx_sel_edit_fcurves_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 132 of file screen_context.cc.
References BASE_VISIBLE, BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), C, Collection, CTX_data_id_list_add(), CTX_data_type_set(), CTX_RESULT_OK, CTX_wm_view3d(), CTX_wm_window(), LISTBASE_FOREACH, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 258 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(), blender::animrig::bone_is_visible(), BONE_SELECTED, C, Collection, CTX_data_list_add(), CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_view3d(), CTX_wm_window(), Object::data, EBONE_EDITABLE, ED_armature_ebone_get_mirrored(), bArmature::edbo, bArmature::flag, EditBone::flag, bArmature::id, LISTBASE_FOREACH, OB_ARMATURE, result, 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 400 of file screen_context.cc.
References BKE_object_pose_armature_get(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, Collection, CTX_data_list_add(), 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, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 618 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, Object::mode, OB_MODE_ALL_WEIGHT_PAINT, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
| const char* screen_context_dir[] |
Definition at line 62 of file screen_context.cc.
Referenced by bpy_context_members(), and ed_screen_context().