|
Blender V5.0
|
Go to the source code of this file.
Enumerations | |
| enum | eNlaEdit_LeftRightSelect_Mode { NLAEDIT_LRSEL_TEST = -1 , NLAEDIT_LRSEL_NONE , NLAEDIT_LRSEL_LEFT , NLAEDIT_LRSEL_RIGHT } |
| enum | eNlaEdit_Snap_Mode { NLAEDIT_SNAP_CFRA = 1 , NLAEDIT_SNAP_NEAREST_FRAME , NLAEDIT_SNAP_NEAREST_SECOND , NLAEDIT_SNAP_NEAREST_MARKER } |
| Enumerator | |
|---|---|
| NLAEDIT_LRSEL_TEST | |
| NLAEDIT_LRSEL_NONE | |
| NLAEDIT_LRSEL_LEFT | |
| NLAEDIT_LRSEL_RIGHT | |
Definition at line 49 of file nla_intern.hh.
| enum eNlaEdit_Snap_Mode |
| Enumerator | |
|---|---|
| NLAEDIT_SNAP_CFRA | |
| NLAEDIT_SNAP_NEAREST_FRAME | |
| NLAEDIT_SNAP_NEAREST_SECOND | |
| NLAEDIT_SNAP_NEAREST_MARKER | |
Definition at line 67 of file nla_intern.hh.
| void draw_nla_main_data | ( | bAnimContext * | ac, |
| SpaceNla * | snla, | ||
| ARegion * | region ) |
Definition at line 787 of file nla_draw.cc.
References AnimData::act_extendmode, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_draw_action_framerange(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, ANIMTYPE_ACTION_SLOT, ANIMTYPE_ANIMDATA, ANIMTYPE_DSARM, ANIMTYPE_DSCACHEFILE, ANIMTYPE_DSCAM, ANIMTYPE_DSCUR, ANIMTYPE_DSGPENCIL, ANIMTYPE_DSHAIR, ANIMTYPE_DSLAM, ANIMTYPE_DSLAT, ANIMTYPE_DSLIGHTPROBE, ANIMTYPE_DSLINESTYLE, ANIMTYPE_DSMAT, ANIMTYPE_DSMBALL, ANIMTYPE_DSMCLIP, ANIMTYPE_DSMESH, ANIMTYPE_DSNTREE, ANIMTYPE_DSPART, ANIMTYPE_DSPOINTCLOUD, ANIMTYPE_DSSKEY, ANIMTYPE_DSSPK, ANIMTYPE_DSTEX, ANIMTYPE_DSVOLUME, ANIMTYPE_DSWOR, ANIMTYPE_FCURVE, ANIMTYPE_FILLACT_LAYERED, ANIMTYPE_FILLACTD, ANIMTYPE_FILLDRIVERS, ANIMTYPE_GPLAYER, ANIMTYPE_GREASE_PENCIL_DATABLOCK, ANIMTYPE_GREASE_PENCIL_LAYER, ANIMTYPE_GREASE_PENCIL_LAYER_GROUP, ANIMTYPE_GROUP, ANIMTYPE_MASKDATABLOCK, ANIMTYPE_MASKLAYER, ANIMTYPE_NLAACTION, ANIMTYPE_NLACONTROLS, ANIMTYPE_NLACURVE, ANIMTYPE_NLATRACK, ANIMTYPE_NONE, ANIMTYPE_NUM_TYPES, ANIMTYPE_OBJECT, ANIMTYPE_PALETTE, ANIMTYPE_SCENE, ANIMTYPE_SHAPEKEY, ANIMTYPE_SPECIALDATA__UNUSED, ANIMTYPE_SUMMARY, BKE_nla_clip_length_ensure_nonzero(), BLI_rctf_size_x(), BLI_rcti_size_x(), View2D::cur, bAnimContext::data, bAnimContext::datatype, filter, ListBase::first, blender::animrig::Action::get_frame_range(), get_visible_nla_strips(), GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_SHADER_3D_UNIFORM_COLOR, GPU_vertformat_attr_add(), immBindBuiltinProgram(), immRectf(), immUnbindProgram(), immUniformColor4fv(), immVertexFormat(), IN_RANGE, LISTBASE_FOREACH, View2D::mask, bAnimListElem::next, nla_action_draw_keyframes(), nla_action_get_color(), nla_draw_strip(), nla_draw_strip_frames_text(), nla_draw_strip_text(), NLASTRIP_EXTEND_HOLD, NLASTRIP_EXTEND_HOLD_FORWARD, NLASTRIP_EXTEND_NOTHING, NLASTRIP_FLAG_TEMP_META, NLATRACK_FIRST_TOP, NLATRACK_HEIGHT, NLATRACK_SKIP, NLATRACK_STEP, NLATRACK_TOT_HEIGHT, pos, View2D::tot, UI_SCALE_FAC, ARegion::v2d, wrap(), rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by nla_main_region_draw().
| void draw_nla_track_list | ( | const bContext * | C, |
| bAnimContext * | ac, | ||
| ARegion * | region, | ||
| const ListBase & | anim_data ) |
Definition at line 974 of file nla_draw.cc.
References ANIM_channel_draw(), ANIM_channel_draw_widgets(), bAnimContext::area, BLI_rctf_init(), C, View2D::cur, blender::ui::Emboss, ListBase::first, GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, IN_RANGE, bAnimListElem::next, NLATRACK_FIRST_TOP, NLATRACK_HEIGHT, NLATRACK_STEP, bAnimContext::sl, UI_block_begin(), UI_block_draw(), UI_block_end(), UI_view2d_sync(), ARegion::v2d, V2D_LOCK_COPY, rctf::xmax, rctf::ymax, and rctf::ymin.
Referenced by nla_track_region_draw().
| void nla_buttons_register | ( | ARegionType * | art | ) |
Definition at line 653 of file nla_buttons.cc.
References ANIM_modifier_panels_register_graph_and_NLA(), BLI_addtail(), BLI_genericNodeN(), BLT_I18NCONTEXT_DEFAULT_BPYRNA, PanelType::category, PanelType::children, PanelType::draw, PanelType::draw_header, PanelType::flag, PanelType::idname, PanelType::label, MEM_callocN(), N_, nla_animdata_panel_poll(), NLA_FMODIFIER_PANEL_PREFIX, nla_panel_actclip(), nla_panel_animated_influence_header(), nla_panel_animated_strip_time(), nla_panel_animated_strip_time_header(), nla_panel_animdata(), nla_panel_evaluation(), nla_panel_modifiers(), nla_panel_properties(), nla_panel_stripname(), nla_strip_actclip_panel_poll(), nla_strip_eval_panel_poll(), nla_strip_panel_poll(), PANEL_TYPE_DEFAULT_CLOSED, PANEL_TYPE_NO_HEADER, ARegionType::paneltypes, PanelType::parent, PanelType::parent_id, PanelType::poll, STRNCPY_UTF8, and PanelType::translation_context.
Referenced by ED_spacetype_nla().
| void nla_keymap | ( | wmKeyConfig * | keyconf | ) |
Definition at line 169 of file nla_ops.cc.
References RGN_TYPE_WINDOW, SPACE_NLA, and WM_keymap_ensure().
Referenced by ED_spacetype_nla().
| void nla_operatortypes | ( | ) |
Definition at line 81 of file nla_ops.cc.
References NLA_OT_action_pushdown(), NLA_OT_action_sync_length(), NLA_OT_action_unlink(), NLA_OT_actionclip_add(), NLA_OT_apply_scale(), NLA_OT_channels_click(), NLA_OT_clear_scale(), NLA_OT_click_select(), NLA_OT_delete(), NLA_OT_duplicate(), NLA_OT_fmodifier_add(), NLA_OT_fmodifier_copy(), NLA_OT_fmodifier_paste(), NLA_OT_make_single_user(), NLA_OT_meta_add(), NLA_OT_meta_remove(), NLA_OT_move_down(), NLA_OT_move_up(), NLA_OT_mute_toggle(), NLA_OT_previewrange_set(), NLA_OT_select_all(), NLA_OT_select_box(), NLA_OT_select_leftright(), NLA_OT_selected_objects_add(), NLA_OT_snap(), NLA_OT_soundclip_add(), NLA_OT_split(), NLA_OT_swap(), NLA_OT_tracks_add(), NLA_OT_tracks_delete(), NLA_OT_transition_add(), NLA_OT_tweakmode_enter(), NLA_OT_tweakmode_exit(), NLA_OT_view_all(), NLA_OT_view_frame(), NLA_OT_view_selected(), and WM_operatortype_append().
Referenced by ED_spacetype_nla().
| void NLA_OT_action_pushdown | ( | wmOperatorType * | ot | ) |
Definition at line 459 of file nla_tracks.cc.
References nlaop_poll_tweakmode_off(), nlatracks_pushdown_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_int(), and RNA_def_property_flag().
Referenced by nla_operatortypes().
| void NLA_OT_action_sync_length | ( | wmOperatorType * | ot | ) |
Definition at line 2024 of file nla_edit.cc.
References nlaedit_sync_actlen_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by nla_operatortypes().
| void NLA_OT_action_unlink | ( | wmOperatorType * | ot | ) |
Definition at line 531 of file nla_tracks.cc.
References nla_action_unlink_exec(), nla_action_unlink_invoke(), nla_action_unlink_poll(), ot, PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by nla_operatortypes().
| void NLA_OT_actionclip_add | ( | wmOperatorType * | ot | ) |
Definition at line 755 of file nla_edit.cc.
References nlaedit_add_actionclip_exec(), nlaedit_add_actionclip_invoke(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_ENUM_NO_TRANSLATE, RNA_action_itemf(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), and rna_enum_dummy_NULL_items.
Referenced by nla_operatortypes().
| void NLA_OT_apply_scale | ( | wmOperatorType * | ot | ) |
Definition at line 2278 of file nla_edit.cc.
References nlaedit_apply_scale_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by nla_operatortypes().
| void NLA_OT_channels_click | ( | wmOperatorType * | ot | ) |
Definition at line 338 of file nla_tracks.cc.
References ED_operator_nla_active(), nlatracks_mouseclick_invoke(), OPTYPE_UNDO, ot, PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by nla_operatortypes().
| void NLA_OT_clear_scale | ( | wmOperatorType * | ot | ) |
Definition at line 2344 of file nla_edit.cc.
References nlaedit_clear_scale_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by nla_operatortypes().
| void NLA_OT_click_select | ( | wmOperatorType * | ot | ) |
Definition at line 709 of file nla_select.cc.
References ED_operator_nla_active(), nlaedit_clickselect_exec(), OPTYPE_UNDO, ot, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), WM_generic_select_invoke(), WM_generic_select_modal(), and WM_operator_properties_generic_select().
Referenced by nla_operatortypes().
| void NLA_OT_delete | ( | wmOperatorType * | ot | ) |
Definition at line 1337 of file nla_edit.cc.
References nlaedit_delete_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by nla_operatortypes().
| void NLA_OT_duplicate | ( | wmOperatorType * | ot | ) |
Definition at line 1239 of file nla_edit.cc.
References nlaedit_duplicate_exec(), nlaedit_duplicate_invoke(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by nla_operatortypes().
| void NLA_OT_fmodifier_add | ( | wmOperatorType * | ot | ) |
Definition at line 2649 of file nla_edit.cc.
References BLT_I18NCONTEXT_ID_ACTION, nla_fmodifier_add_exec(), nla_fmodifier_itemf(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_translation_context(), rna_enum_fmodifier_type_items, and WM_menu_invoke().
Referenced by nla_operatortypes().
| void NLA_OT_fmodifier_copy | ( | wmOperatorType * | ot | ) |
Definition at line 2732 of file nla_edit.cc.
References nla_fmodifier_copy_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by nla_operatortypes().
| void NLA_OT_fmodifier_paste | ( | wmOperatorType * | ot | ) |
Definition at line 2825 of file nla_edit.cc.
References BLT_I18NCONTEXT_ID_ACTION, nla_fmodifier_paste_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), and RNA_def_property_translation_context().
Referenced by nla_operatortypes().
| void NLA_OT_make_single_user | ( | wmOperatorType * | ot | ) |
Definition at line 2137 of file nla_edit.cc.
References nlaedit_make_single_user_exec(), nlaedit_make_single_user_invoke(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and WM_operator_properties_confirm_or_exec().
Referenced by nla_operatortypes().
| void NLA_OT_meta_add | ( | wmOperatorType * | ot | ) |
Definition at line 1060 of file nla_edit.cc.
References nlaedit_add_meta_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by nla_operatortypes().
| void NLA_OT_meta_remove | ( | wmOperatorType * | ot | ) |
Definition at line 1125 of file nla_edit.cc.
References nlaedit_remove_meta_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by nla_operatortypes().
| void NLA_OT_move_down | ( | wmOperatorType * | ot | ) |
Definition at line 1940 of file nla_edit.cc.
References nlaedit_move_down_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by nla_operatortypes().
| void NLA_OT_move_up | ( | wmOperatorType * | ot | ) |
Definition at line 1849 of file nla_edit.cc.
References nlaedit_move_up_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by nla_operatortypes().
| void NLA_OT_mute_toggle | ( | wmOperatorType * | ot | ) |
Definition at line 1569 of file nla_edit.cc.
References nlaedit_toggle_mute_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by nla_operatortypes().
| void NLA_OT_previewrange_set | ( | wmOperatorType * | ot | ) |
Definition at line 410 of file nla_edit.cc.
References ED_operator_nla_active(), nlaedit_previewrange_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by nla_operatortypes().
| void NLA_OT_select_all | ( | wmOperatorType * | ot | ) |
Definition at line 168 of file nla_select.cc.
References nlaedit_deselectall_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, ot, and WM_operator_properties_select_all().
Referenced by nla_operatortypes().
| void NLA_OT_select_box | ( | wmOperatorType * | ot | ) |
Definition at line 397 of file nla_select.cc.
References nlaedit_box_select_exec(), nlaedit_box_select_invoke(), nlaop_poll_tweakmode_off(), OPTYPE_UNDO, ot, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), WM_gesture_box_cancel(), WM_gesture_box_modal(), WM_operator_properties_gesture_box(), and WM_operator_properties_select_operation_simple().
Referenced by nla_operatortypes().
| void NLA_OT_select_leftright | ( | wmOperatorType * | ot | ) |
Definition at line 567 of file nla_select.cc.
References ED_operator_nla_active(), NLAEDIT_LRSEL_TEST, nlaedit_select_leftright_exec(), nlaedit_select_leftright_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, prop_nlaedit_leftright_select_types, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), and RNA_def_property_flag().
Referenced by nla_operatortypes().
| void NLA_OT_selected_objects_add | ( | wmOperatorType * | ot | ) |
Definition at line 812 of file nla_tracks.cc.
References nlaedit_objects_add_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by nla_operatortypes().
| void NLA_OT_snap | ( | wmOperatorType * | ot | ) |
Definition at line 2507 of file nla_edit.cc.
References nlaedit_snap_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, prop_nlaedit_snap_types, RNA_def_enum(), and WM_menu_invoke().
Referenced by nla_operatortypes().
| void NLA_OT_soundclip_add | ( | wmOperatorType * | ot | ) |
Definition at line 985 of file nla_edit.cc.
References nlaedit_add_sound_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by nla_operatortypes().
| void NLA_OT_split | ( | wmOperatorType * | ot | ) |
Definition at line 1500 of file nla_edit.cc.
References nlaedit_split_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by nla_operatortypes().
| void NLA_OT_swap | ( | wmOperatorType * | ot | ) |
Definition at line 1758 of file nla_edit.cc.
References nlaedit_swap_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by nla_operatortypes().
| void NLA_OT_tracks_add | ( | wmOperatorType * | ot | ) |
Definition at line 679 of file nla_tracks.cc.
References nlaedit_add_tracks_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by nla_operatortypes().
| void NLA_OT_tracks_delete | ( | wmOperatorType * | ot | ) |
Definition at line 757 of file nla_tracks.cc.
References nlaedit_delete_tracks_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by nla_operatortypes().
| void NLA_OT_transition_add | ( | wmOperatorType * | ot | ) |
Definition at line 895 of file nla_edit.cc.
References nlaedit_add_transition_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by nla_operatortypes().
| void NLA_OT_tweakmode_enter | ( | wmOperatorType * | ot | ) |
Definition at line 180 of file nla_edit.cc.
References nlaedit_enable_tweakmode_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by nla_operatortypes().
| void NLA_OT_tweakmode_exit | ( | wmOperatorType * | ot | ) |
Definition at line 290 of file nla_edit.cc.
References nlaedit_disable_tweakmode_exec(), nlaop_poll_tweakmode_on(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by nla_operatortypes().
| void NLA_OT_view_all | ( | wmOperatorType * | ot | ) |
Definition at line 549 of file nla_edit.cc.
References ED_operator_nla_active(), nlaedit_viewall_exec(), and ot.
Referenced by nla_operatortypes().
| void NLA_OT_view_frame | ( | wmOperatorType * | ot | ) |
Definition at line 592 of file nla_edit.cc.
References ED_operator_nla_active(), nlaedit_viewframe_exec(), and ot.
Referenced by nla_operatortypes().
| void NLA_OT_view_selected | ( | wmOperatorType * | ot | ) |
Definition at line 564 of file nla_edit.cc.
References ED_operator_nla_active(), nlaedit_viewsel_exec(), and ot.
Referenced by nla_operatortypes().
| bool nla_panel_context | ( | const bContext * | C, |
| PointerRNA * | adt_ptr, | ||
| PointerRNA * | nlt_ptr, | ||
| PointerRNA * | strip_ptr ) |
Definition at line 62 of file nla_buttons.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_ACTIVE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, ANIMTYPE_ACTION_SLOT, ANIMTYPE_ANIMDATA, ANIMTYPE_DSARM, ANIMTYPE_DSCACHEFILE, ANIMTYPE_DSCAM, ANIMTYPE_DSCUR, ANIMTYPE_DSGPENCIL, ANIMTYPE_DSHAIR, ANIMTYPE_DSLAM, ANIMTYPE_DSLAT, ANIMTYPE_DSLIGHTPROBE, ANIMTYPE_DSLINESTYLE, ANIMTYPE_DSMAT, ANIMTYPE_DSMBALL, ANIMTYPE_DSMCLIP, ANIMTYPE_DSMESH, ANIMTYPE_DSNTREE, ANIMTYPE_DSPART, ANIMTYPE_DSPOINTCLOUD, ANIMTYPE_DSSKEY, ANIMTYPE_DSSPK, ANIMTYPE_DSTEX, ANIMTYPE_DSVOLUME, ANIMTYPE_DSWOR, ANIMTYPE_FCURVE, ANIMTYPE_FILLACT_LAYERED, ANIMTYPE_FILLACTD, ANIMTYPE_FILLDRIVERS, ANIMTYPE_GPLAYER, ANIMTYPE_GREASE_PENCIL_DATABLOCK, ANIMTYPE_GREASE_PENCIL_LAYER, ANIMTYPE_GREASE_PENCIL_LAYER_GROUP, ANIMTYPE_GROUP, ANIMTYPE_MASKDATABLOCK, ANIMTYPE_MASKLAYER, ANIMTYPE_NLAACTION, ANIMTYPE_NLACONTROLS, ANIMTYPE_NLACURVE, ANIMTYPE_NLATRACK, ANIMTYPE_NONE, ANIMTYPE_NUM_TYPES, ANIMTYPE_OBJECT, ANIMTYPE_PALETTE, ANIMTYPE_SCENE, ANIMTYPE_SHAPEKEY, ANIMTYPE_SPECIALDATA__UNUSED, ANIMTYPE_SUMMARY, BKE_nlastrip_find_active(), C, bAnimContext::data, bAnimContext::datatype, filter, LISTBASE_FOREACH, and RNA_pointer_create_discrete().
Referenced by ANIM_nla_context_strip_ptr(), ANIM_nla_context_track_ptr(), nla_action_unlink_exec(), nla_action_unlink_poll(), nla_animdata_panel_poll(), nla_panel_actclip(), nla_panel_animated_influence_header(), nla_panel_animated_strip_time(), nla_panel_animated_strip_time_header(), nla_panel_animdata(), nla_panel_evaluation(), nla_panel_modifiers(), nla_panel_properties(), nla_panel_stripname(), nla_strip_actclip_panel_poll(), nla_strip_eval_panel_poll(), nla_strip_panel_poll(), and nlatracks_pushdown_exec().
| bool nlaedit_add_tracks_empty | ( | bAnimContext * | ac | ) |
helper - add NLA Tracks to empty (and selected) AnimData blocks.
Definition at line 606 of file nla_tracks.cc.
References ADT_UI_SELECTED, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_update(), ANIM_UPDATE_DEPS, ANIMFILTER_ANIMDATA, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_VISIBLE, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, BKE_nlatrack_new_tail(), BKE_nlatrack_set_active(), BLI_assert, BLI_listbase_is_empty(), bAnimContext::data, bAnimContext::datatype, filter, AnimData::flag, ID_IS_OVERRIDE_LIBRARY, LISTBASE_FOREACH, and AnimData::nla_tracks.
Referenced by nlaedit_add_actionclip_exec(), and nlaedit_add_tracks_exec().
| bool nlaedit_add_tracks_existing | ( | bAnimContext * | ac, |
| bool | above_sel ) |
Helper - add NLA Tracks alongside existing ones.
Definition at line 557 of file nla_tracks.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_update(), ANIM_UPDATE_DEPS, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_VISIBLE, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, ANIMTYPE_NLATRACK, BKE_nlatrack_new_after(), BKE_nlatrack_new_tail(), BKE_nlatrack_set_active(), bAnimContext::data, bAnimContext::datatype, filter, ID_IS_OVERRIDE_LIBRARY, LISTBASE_FOREACH, and AnimData::nla_tracks.
Referenced by nlaedit_add_tracks_exec().
| bool nlaedit_disable_tweakmode | ( | bAnimContext * | ac, |
| bool | do_solo ) |
NLA Editor internal API function for exiting tweak-mode.
Definition at line 220 of file nla_edit.cc.
References ADT_NLA_EDIT_ON, ADT_NLA_SOLO_TRACK, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_update(), ANIM_UPDATE_DEPS, ANIMFILTER_ANIMDATA, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, BKE_nla_tweakmode_exit(), BKE_nlatrack_solo_toggle(), BKE_report(), BLI_listbase_is_empty(), bAnimContext::data, bAnimContext::datatype, filter, AnimData::flag, Scene::flag, LISTBASE_FOREACH, NC_ANIMATION, ND_NLA_ACTCHANGE, bAnimContext::reports, RPT_ERROR, SCE_NLA_EDIT_ON, bAnimContext::scene, and WM_main_add_notifier().
Referenced by mouse_nla_tracks(), and nlaedit_disable_tweakmode_exec().
| bool nlaedit_is_tweakmode_on | ( | bAnimContext * | ac | ) |
Is tweak-mode enabled - for use in NLA operator code.
Definition at line 71 of file nla_ops.cc.
References Scene::flag, SCE_NLA_EDIT_ON, and bAnimContext::scene.
Referenced by mouse_nla_tracks(), and nlatracks_pushdown_exec().
| bool nlaop_poll_tweakmode_off | ( | bContext * | C | ) |
Tweak-mode is NOT enabled.
Definition at line 27 of file nla_ops.cc.
References C, CTX_data_scene(), ED_operator_nla_active(), Scene::flag, and SCE_NLA_EDIT_ON.
Referenced by NLA_OT_action_pushdown(), NLA_OT_action_sync_length(), NLA_OT_actionclip_add(), NLA_OT_apply_scale(), NLA_OT_clear_scale(), NLA_OT_delete(), NLA_OT_duplicate(), NLA_OT_fmodifier_add(), NLA_OT_fmodifier_copy(), NLA_OT_fmodifier_paste(), NLA_OT_make_single_user(), NLA_OT_meta_add(), NLA_OT_meta_remove(), NLA_OT_move_down(), NLA_OT_move_up(), NLA_OT_mute_toggle(), NLA_OT_select_all(), NLA_OT_select_box(), NLA_OT_selected_objects_add(), NLA_OT_snap(), NLA_OT_soundclip_add(), NLA_OT_split(), NLA_OT_swap(), NLA_OT_tracks_add(), NLA_OT_tracks_delete(), NLA_OT_transition_add(), and NLA_OT_tweakmode_enter().
| bool nlaop_poll_tweakmode_on | ( | bContext * | C | ) |
Tweak-mode IS enabled.
Definition at line 49 of file nla_ops.cc.
References C, CTX_data_scene(), ED_operator_nla_active(), Scene::flag, and SCE_NLA_EDIT_ON.
Referenced by NLA_OT_tweakmode_exit().