|
Blender
V2.93
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "MEM_guardedalloc.h"#include "DNA_anim_types.h"#include "DNA_armature_types.h"#include "DNA_gpencil_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 "BLI_ghash.h"#include "BLI_listbase.h"#include "BLI_utildefines.h"#include "BKE_action.h"#include "BKE_armature.h"#include "BKE_blender.h"#include "BKE_context.h"#include "BKE_gpencil.h"#include "BKE_layer.h"#include "BKE_object.h"#include "RNA_access.h"#include "ED_anim_api.h"#include "ED_armature.h"#include "ED_gpencil.h"#include "SEQ_sequencer.h"#include "UI_interface.h"#include "WM_api.h"#include "screen_intern.h"Go to the source code of this file.
Typedefs | |
| typedef eContextResult(* | context_callback) (const bContext *C, bContextDataResult *result) |
Variables | |
| const char * | screen_context_dir [] |
| static GHash * | ed_screen_context_functions = NULL |
| typedef eContextResult(* context_callback) (const bContext *C, bContextDataResult *result) |
Definition at line 1029 of file screen_context.c.
| int ed_screen_context | ( | const bContext * | C, |
| const char * | member, | ||
| bContextDataResult * | result | ||
| ) |
Definition at line 1104 of file screen_context.c.
References BLI_ghash_lookup(), C, 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(), NULL, result, and screen_context_dir.
Referenced by ED_screen_refresh().
|
static |
Definition at line 1041 of file screen_context.c.
References BKE_blender_atexit_register(), BLI_ghash_new(), BLI_ghashutil_strcmp(), BLI_ghashutil_strhash_p_murmur(), ed_screen_context_functions, free_context_function_ghash(), NULL, register_context_function(), screen_ctx_active_annotation_layer(), screen_ctx_active_bone(), screen_ctx_active_editable_fcurve(), screen_ctx_active_gpencil_frame(), screen_ctx_active_gpencil_layer(), screen_ctx_active_object(), screen_ctx_active_operator(), screen_ctx_active_pose_bone(), screen_ctx_annotation_data(), screen_ctx_annotation_data_owner(), screen_ctx_edit_object(), screen_ctx_editable_bones(), screen_ctx_editable_fcurves(), screen_ctx_editable_gpencil_layers(), screen_ctx_editable_gpencil_strokes(), screen_ctx_editable_objects(), screen_ctx_gpencil_data(), screen_ctx_gpencil_data_owner(), 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_scene(), screen_ctx_sculpt_object(), screen_ctx_selectable_objects(), screen_ctx_selected_bones(), 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_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_fcurves(), screen_ctx_sequences(), screen_ctx_vertex_paint_object(), screen_ctx_visible_bones(), screen_ctx_visible_fcurves(), screen_ctx_visible_gpencil_layers(), screen_ctx_visible_objects(), screen_ctx_visible_pose_bones(), and screen_ctx_weight_paint_object().
Referenced by ed_screen_context().
|
static |
Definition at line 1032 of file screen_context.c.
References BLI_ghash_free(), ed_screen_context_functions, and NULL.
Referenced by ensure_ed_screen_context_functions().
|
inlinestatic |
Definition at line 1036 of file screen_context.c.
References BLI_ghash_insert(), and ed_screen_context_functions.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 763 of file screen_context.c.
References blender::compositor::area(), 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, RNA_GPencilLayer, scene, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 463 of file screen_context.c.
References bArmature::act_bone, bArmature::act_edbone, ViewLayer::basact, C, CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), Object::data, bArmature::edbo, bArmature::id, NULL, OB_ARMATURE, Base::object, result, RNA_Bone, RNA_EditBone, Object::type, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 957 of file screen_context.c.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_ACTIVE, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, 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, NULL, result, RNA_FCurve, SPACE_GRAPH, and bAnimContext::spacetype.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 782 of file screen_context.c.
References bGPDlayer::actframe, blender::compositor::area(), ViewLayer::basact, BKE_gpencil_layer_active_get(), C, CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_area(), CTX_wm_window(), ED_gpencil_data_get_active_direct(), bGPdata::id, NULL, Base::object, result, RNA_GPencilLayer, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 744 of file screen_context.c.
References blender::compositor::area(), ViewLayer::basact, BKE_gpencil_layer_active_get(), C, CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_area(), CTX_wm_window(), ED_gpencil_data_get_active_direct(), bGPdata::id, NULL, Base::object, result, RNA_GPencilLayer, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 499 of file screen_context.c.
References ViewLayer::basact, C, CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, NULL, Base::object, result, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 887 of file screen_context.c.
References C, CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_space_file(), NULL, SpaceFile::op, wmOperator::ptr, result, RNA_Operator, UI_context_active_operator_get(), and WM_operator_last_redo().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 485 of file screen_context.c.
References ViewLayer::basact, BKE_object_pose_armature_get(), BKE_pose_channel_active(), C, CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), Object::id, NULL, Base::object, result, RNA_PoseBone, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 712 of file screen_context.c.
References blender::compositor::area(), 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, scene, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 726 of file screen_context.c.
References blender::compositor::area(), C, CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_area(), CTX_wm_screen(), CTX_wm_window(), PointerRNA::data, ED_annotation_data_get_pointers_direct(), PointerRNA::owner_id, ptr, result, scene, PointerRNA::type, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 523 of file screen_context.c.
References C, CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, OBEDIT_FROM_VIEW_LAYER, result, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 307 of file screen_context.c.
References C, result, and screen_ctx_visible_or_editable_bones_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 939 of file screen_context.c.
References ANIMFILTER_FOREDIT, C, result, and screen_ctx_sel_edit_fcurves_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 821 of file screen_context.c.
References blender::compositor::area(), ViewLayer::basact, BKE_gpencil_layer_is_editable(), C, CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_area(), CTX_wm_window(), ED_gpencil_data_get_active_direct(), bGPdata::id, bGPdata::layers, LISTBASE_FOREACH, NULL, Base::object, result, RNA_GPencilLayer, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 841 of file screen_context.c.
References blender::compositor::area(), ViewLayer::basact, BKE_gpencil_layer_is_editable(), C, CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_area(), CTX_wm_window(), ED_gpencil_data_get_active_direct(), ED_gpencil_stroke_can_use_direct(), ED_gpencil_stroke_material_editable(), bGPDframe::flag, GP_FRAME_SELECT, GPENCIL_MULTIEDIT_SESSIONS_ON, bGPdata::id, bGPdata::layers, LISTBASE_FOREACH, bGPDframe::next, NULL, Base::object, result, RNA_GPencilStroke, bGPDframe::strokes, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 185 of file screen_context.c.
References BASE_EDITABLE, 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, ViewLayer::object_bases, result, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 675 of file screen_context.c.
References blender::compositor::area(), ViewLayer::basact, C, CTX_data_id_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_area(), CTX_wm_window(), ED_gpencil_data_get_active_direct(), bGPdata::id, NULL, Base::object, result, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 694 of file screen_context.c.
References blender::compositor::area(), ViewLayer::basact, C, CTX_data_pointer_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_area(), CTX_wm_window(), PointerRNA::data, ED_gpencil_data_get_pointers_direct(), NULL, Base::object, PointerRNA::owner_id, ptr, result, PointerRNA::type, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 569 of file screen_context.c.
References ViewLayer::basact, C, CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, Object::mode, NULL, OB_MODE_TEXTURE_PAINT, Base::object, result, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 511 of file screen_context.c.
References ViewLayer::basact, C, CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, NULL, Base::object, result, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 200 of file screen_context.c.
References ViewLayer::basact, 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, NULL, OB_MODE_OBJECT, Base::object, result, Object::type, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 216 of file screen_context.c.
References ViewLayer::basact, 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, LIB_TAG_DOIT, Object::mode, NULL, OB_MODE_OBJECT, Base::object, result, Object::type, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 580 of file screen_context.c.
References ViewLayer::basact, C, CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, Object::mode, NULL, OB_MODE_PARTICLE_EDIT, Base::object, result, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 592 of file screen_context.c.
References ViewLayer::basact, BKE_object_pose_armature_get(), C, CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, NULL, Base::object, result, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 121 of file screen_context.c.
References C, CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Scene::id, result, scene, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 535 of file screen_context.c.
References ViewLayer::basact, C, CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, Object::mode, NULL, OB_MODE_SCULPT, Base::object, result, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 911 of file screen_context.c.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, 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, NULL, result, RNA_FCurve, 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 142 of file screen_context.c.
References BASE_SELECTABLE, 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, ViewLayer::object_bases, result, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 373 of file screen_context.c.
References C, result, and screen_ctx_selected_bones_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 311 of file screen_context.c.
References ARM_MIRROR_EDIT, BKE_view_layer_array_from_objects_in_edit_mode_unique_data, 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, EBONE_VISIBLE, ED_armature_ebone_get_mirrored(), bArmature::edbo, bArmature::flag, bArmature::id, if(), LISTBASE_FOREACH, MEM_freeN, NULL, OB_ARMATURE, OBEDIT_FROM_VIEW_LAYER, result, RNA_EditBone, Object::type, and WM_window_get_active_view_layer().
Referenced by screen_ctx_selected_bones(), and screen_ctx_selected_editable_bones().
|
static |
Definition at line 377 of file screen_context.c.
References C, result, and screen_ctx_selected_bones_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 947 of file screen_context.c.
References ANIMFILTER_FOREDIT, ANIMFILTER_SEL, C, result, and screen_ctx_sel_edit_fcurves_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 981 of file screen_context.c.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, 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(), if(), LISTBASE_FOREACH, NULL, result, RNA_Keyframe, SELECT, SPACE_ACTION, SPACE_GRAPH, and bAnimContext::spacetype.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 170 of file screen_context.c.
References BASE_SELECTED_EDITABLE, 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, ViewLayer::object_bases, result, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 633 of file screen_context.c.
References C, CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), Scene::id, LISTBASE_FOREACH, result, RNA_Sequence, scene, SELECT, SEQ_editing_get(), SEQ_LOCK, Editing::seqbasep, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 650 of file screen_context.c.
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, NULL, result, RNA_NlaStrip, and NlaTrack::strips.
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 156 of file screen_context.c.
References BASE_SELECTED, 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, ViewLayer::object_bases, result, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 410 of file screen_context.c.
References ViewLayer::basact, BKE_object_pose_armature_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, NULL, OB_ARMATURE, OB_MODE_POSE, Base::object, Object::pose, result, RNA_PoseBone, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 438 of file screen_context.c.
References ViewLayer::basact, BKE_object_pose_armature_get(), 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, NULL, OB_MODE_POSE, Base::object, Object::pose, result, RNA_PoseBone, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 617 of file screen_context.c.
References C, CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), Scene::id, LISTBASE_FOREACH, result, RNA_Sequence, scene, SELECT, SEQ_editing_get(), Editing::seqbasep, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 952 of file screen_context.c.
References ANIMFILTER_SEL, C, result, and screen_ctx_sel_edit_fcurves_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 603 of file screen_context.c.
References C, CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_window(), Scene::id, LISTBASE_FOREACH, result, RNA_Sequence, scene, SEQ_editing_get(), Editing::seqbasep, and WM_window_get_active_scene().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 547 of file screen_context.c.
References ViewLayer::basact, C, CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, Object::mode, NULL, OB_MODE_VERTEX_PAINT, Base::object, result, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 303 of file screen_context.c.
References C, result, and screen_ctx_visible_or_editable_bones_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 943 of file screen_context.c.
References C, result, and screen_ctx_sel_edit_fcurves_().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 801 of file screen_context.c.
References blender::compositor::area(), ViewLayer::basact, C, CTX_data_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_area(), CTX_wm_window(), ED_gpencil_data_get_active_direct(), GP_LAYER_HIDE, bGPdata::id, bGPdata::layers, LISTBASE_FOREACH, NULL, Base::object, result, RNA_GPencilLayer, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 128 of file screen_context.c.
References BASE_VISIBLE, 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, ViewLayer::object_bases, result, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 240 of file screen_context.c.
References ARM_MIRROR_EDIT, BKE_view_layer_array_from_objects_in_edit_mode_unique_data, 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, EBONE_VISIBLE, ED_armature_ebone_get_mirrored(), bArmature::edbo, bArmature::flag, bArmature::id, if(), LISTBASE_FOREACH, MEM_freeN, NULL, OB_ARMATURE, OBEDIT_FROM_VIEW_LAYER, result, RNA_EditBone, Object::type, and WM_window_get_active_view_layer().
Referenced by screen_ctx_editable_bones(), and screen_ctx_visible_bones().
|
static |
Definition at line 382 of file screen_context.c.
References ViewLayer::basact, BKE_object_pose_armature_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_END, FOREACH_PCHAN_VISIBLE_IN_OBJECT_BEGIN, FOREACH_PCHAN_VISIBLE_IN_OBJECT_END, Object::id, Object::mode, NULL, OB_ARMATURE, OB_MODE_POSE, Base::object, Object::pose, result, RNA_PoseBone, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
|
static |
Definition at line 558 of file screen_context.c.
References ViewLayer::basact, C, CTX_data_id_pointer_set(), CTX_RESULT_OK, CTX_wm_window(), Object::id, Object::mode, NULL, OB_MODE_ALL_WEIGHT_PAINT, Base::object, result, and WM_window_get_active_view_layer().
Referenced by ensure_ed_screen_context_functions().
Definition at line 1030 of file screen_context.c.
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 65 of file screen_context.c.
Referenced by ed_screen_context().