|
Blender V4.5
|
#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_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 1204 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 1273 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 1207 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_sequence_strip(), 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_sequences(), 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_sequences(), screen_ctx_selected_strips(), screen_ctx_selected_visible_actions(), screen_ctx_selected_visible_fcurves(), screen_ctx_sequences(), 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 984 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 837 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 490 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 1046 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 746 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 737 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 530 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 870 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 514 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 675 of file screen_context.cc.
References C, CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), Scene::id, result, blender::seq::select_active_get(), and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1141 of file screen_context.cc.
References C, CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), Scene::id, result, blender::seq::select_active_get(), and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 805 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 819 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 1119 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 581 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 327 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 1028 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 199 of file screen_context.cc.
References BASE_EDITABLE, BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), C, CTX_data_id_list_add(), CTX_DATA_TYPE_COLLECTION, 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 856 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 635 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 567 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 216 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, 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, 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 234 of file screen_context.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, 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, 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 648 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 662 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 545 of file screen_context.cc.
References C, CTX_data_pointer_set_ptr(), CTX_data_prop_set(), CTX_DATA_TYPE_PROPERTY, CTX_data_type_set(), CTX_RESULT_OK, ptr, result, RNA_property_array_check(), and UI_context_active_but_prop_get().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 127 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 595 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 894 of file screen_context.cc.
References ACHANNEL_SETTING_SELECT, SpaceAction::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, 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, 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 998 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, CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, 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 150 of file screen_context.cc.
References BASE_SELECTABLE, BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), C, CTX_data_id_list_add(), CTX_DATA_TYPE_COLLECTION, 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 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 331 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_editbone(), BONE_SELECTED, C, 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, 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 993 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 399 of file screen_context.cc.
References C, result, and screen_ctx_selected_bones_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1036 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 1071 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, 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, filter, i, LISTBASE_FOREACH, result, SELECT, SPACE_ACTION, SPACE_GRAPH, and bAnimContext::spacetype.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 182 of file screen_context.cc.
References BASE_SELECTED_EDITABLE, BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), C, CTX_data_id_list_add(), CTX_DATA_TYPE_COLLECTION, 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 717 of file screen_context.cc.
References C, blender::seq::channels_displayed_get(), CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), blender::seq::editing_get(), Scene::id, LISTBASE_FOREACH, result, SELECT, Editing::seqbasep, blender::seq::transform_is_locked(), and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1182 of file screen_context.cc.
References C, blender::seq::channels_displayed_get(), CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), blender::seq::editing_get(), Scene::id, LISTBASE_FOREACH, result, SELECT, Editing::seqbasep, blender::seq::transform_is_locked(), and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 781 of file screen_context.cc.
References BKE_tracking_object_get_active(), C, 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(), MovieClip::id, LISTBASE_FOREACH, result, TRACK_SELECTED, MovieClip::tracking, and MovieTrackingObject::tracks.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 755 of file screen_context.cc.
References ALE_NLASTRIP, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_DATA_VISIBLE, C, 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, result, and NlaTrack::strips.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 166 of file screen_context.cc.
References BASE_SELECTED, BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), C, CTX_data_id_list_add(), CTX_DATA_TYPE_COLLECTION, 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 434 of file screen_context.cc.
References BKE_object_pose_armature_get(), BKE_view_layer_active_object_get(), C, 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, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 463 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_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, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 701 of file screen_context.cc.
References C, CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), blender::seq::editing_get(), Scene::id, LISTBASE_FOREACH, result, SELECT, Editing::seqbasep, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1166 of file screen_context.cc.
References C, CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), blender::seq::editing_get(), Scene::id, LISTBASE_FOREACH, result, SELECT, Editing::seqbasep, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 988 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 1041 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 687 of file screen_context.cc.
References C, CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), blender::seq::editing_get(), Scene::id, LISTBASE_FOREACH, result, Editing::seqbasep, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1152 of file screen_context.cc.
References C, CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), blender::seq::editing_get(), Scene::id, LISTBASE_FOREACH, result, Editing::seqbasep, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 1127 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 609 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 323 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 1032 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 134 of file screen_context.cc.
References BASE_VISIBLE, BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), C, CTX_data_id_list_add(), CTX_DATA_TYPE_COLLECTION, 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 260 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_editbone(), BONE_SELECTED, C, 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, 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 404 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_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, result, WM_window_get_active_scene(), and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 622 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 61 of file screen_context.cc.
Referenced by bpy_context_members(), and ed_screen_context().