Blender
V3.3
|
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 35 of file nla_intern.h.
enum eNlaEdit_Snap_Mode |
Enumerator | |
---|---|
NLAEDIT_SNAP_CFRA | |
NLAEDIT_SNAP_NEAREST_FRAME | |
NLAEDIT_SNAP_NEAREST_SECOND | |
NLAEDIT_SNAP_NEAREST_MARKER |
Definition at line 53 of file nla_intern.h.
void draw_nla_channel_list | ( | const bContext * | C, |
bAnimContext * | ac, | ||
ARegion * | region | ||
) |
Definition at line 895 of file nla_draw.c.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_channel_draw(), ANIM_channel_draw_widgets(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, bAnimContext::area, BLI_rctf_init(), C, View2D::cur, bAnimContext::data, bAnimContext::datatype, filter(), ListBase::first, GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, height, IN_RANGE, bAnimListElem::next, NLACHANNEL_FIRST_TOP, NLACHANNEL_HEIGHT, NLACHANNEL_STEP, NLACHANNEL_TOT_HEIGHT, NULL, bAnimContext::sl, View2D::tot, UI_block_begin(), UI_block_draw(), UI_block_end(), UI_EMBOSS, UI_view2d_sync(), ARegion::v2d, V2D_LOCK_COPY, rctf::xmax, rctf::ymax, and rctf::ymin.
Referenced by nla_channel_region_draw().
void draw_nla_main_data | ( | bAnimContext * | ac, |
SpaceNla * | snla, | ||
ARegion * | region | ||
) |
Definition at line 787 of file nla_draw.c.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_draw_action_framerange(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, ANIMTYPE_NLAACTION, ANIMTYPE_NLATRACK, BLI_rctf_size_x(), BLI_rcti_size_x(), color, View2D::cur, bAnimContext::data, bAnimContext::datatype, NlaStrip::end, filter(), ListBase::first, NlaStrip::flag, get_visible_nla_strips(), GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_COMP_F32, GPU_FETCH_FLOAT, GPU_SHADER_2D_UNIFORM_COLOR, GPU_vertformat_attr_add(), height, immBindBuiltinProgram(), immRectf(), immUnbindProgram(), immUniformColor4fv(), immVertexFormat(), IN_RANGE, LISTBASE_FOREACH, View2D::mask, nla_action_draw_keyframes(), nla_action_get_color(), nla_draw_strip(), nla_draw_strip_frames_text(), nla_draw_strip_text(), NLACHANNEL_FIRST_TOP, NLACHANNEL_HEIGHT, NLACHANNEL_SKIP, NLACHANNEL_STEP, NLACHANNEL_TOT_HEIGHT, NLASTRIP_FLAG_TEMP_META, NULL, pos, NlaStrip::start, View2D::tot, UI_DPI_FAC, ARegion::v2d, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by nla_main_region_draw().
void nla_buttons_register | ( | ARegionType * | art | ) |
Definition at line 610 of file nla_buttons.c.
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, and PanelType::translation_context.
Referenced by ED_spacetype_nla().
void nla_keymap | ( | wmKeyConfig * | keyconf | ) |
Definition at line 167 of file nla_ops.c.
References SPACE_NLA, and WM_keymap_ensure().
Referenced by ED_spacetype_nla().
Definition at line 82 of file nla_ops.c.
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 457 of file nla_channels.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlachannels_pushdown_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by nla_operatortypes().
void NLA_OT_action_sync_length | ( | wmOperatorType * | ot | ) |
Definition at line 2018 of file nla_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_sync_actlen_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by nla_operatortypes().
void NLA_OT_action_unlink | ( | wmOperatorType * | ot | ) |
Definition at line 530 of file nla_channels.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, nla_action_unlink_exec(), nla_action_unlink_invoke(), nla_action_unlink_poll(), ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by nla_operatortypes().
void NLA_OT_actionclip_add | ( | wmOperatorType * | ot | ) |
Definition at line 728 of file nla_edit.c.
References wmOperatorType::description, DummyRNA_NULL_items, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, nlaedit_add_actionclip_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_ENUM_NO_TRANSLATE, RNA_action_itemf(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), wmOperatorType::srna, and WM_enum_search_invoke().
Referenced by nla_operatortypes().
void NLA_OT_apply_scale | ( | wmOperatorType * | ot | ) |
Definition at line 2253 of file nla_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_apply_scale_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by nla_operatortypes().
void NLA_OT_channels_click | ( | wmOperatorType * | ot | ) |
Definition at line 336 of file nla_channels.c.
References wmOperatorType::description, ED_operator_nla_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, nlachannels_mouseclick_invoke(), OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by nla_operatortypes().
void NLA_OT_clear_scale | ( | wmOperatorType * | ot | ) |
Definition at line 2324 of file nla_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_clear_scale_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by nla_operatortypes().
void NLA_OT_click_select | ( | wmOperatorType * | ot | ) |
Definition at line 697 of file nla_select.c.
References wmOperatorType::description, ED_operator_nla_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, nlaedit_clickselect_exec(), OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), wmOperatorType::srna, 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 1327 of file nla_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_delete_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by nla_operatortypes().
void NLA_OT_duplicate | ( | wmOperatorType * | ot | ) |
Definition at line 1226 of file nla_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, nlaedit_duplicate_exec(), nlaedit_duplicate_invoke(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by nla_operatortypes().
void NLA_OT_fmodifier_add | ( | wmOperatorType * | ot | ) |
Definition at line 2633 of file nla_edit.c.
References BLT_I18NCONTEXT_ID_ACTION, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, nla_fmodifier_add_exec(), nla_fmodifier_itemf(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_translation_context(), rna_enum_fmodifier_type_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by nla_operatortypes().
void NLA_OT_fmodifier_copy | ( | wmOperatorType * | ot | ) |
Definition at line 2716 of file nla_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nla_fmodifier_copy_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by nla_operatortypes().
void NLA_OT_fmodifier_paste | ( | wmOperatorType * | ot | ) |
Definition at line 2811 of file nla_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nla_fmodifier_paste_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by nla_operatortypes().
void NLA_OT_make_single_user | ( | wmOperatorType * | ot | ) |
Definition at line 2117 of file nla_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, nlaedit_make_single_user_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and WM_operator_confirm().
Referenced by nla_operatortypes().
void NLA_OT_meta_add | ( | wmOperatorType * | ot | ) |
Definition at line 1042 of file nla_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_add_meta_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by nla_operatortypes().
void NLA_OT_meta_remove | ( | wmOperatorType * | ot | ) |
Definition at line 1109 of file nla_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_remove_meta_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by nla_operatortypes().
void NLA_OT_move_down | ( | wmOperatorType * | ot | ) |
Definition at line 1931 of file nla_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_move_down_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by nla_operatortypes().
void NLA_OT_move_up | ( | wmOperatorType * | ot | ) |
Definition at line 1839 of file nla_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_move_up_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by nla_operatortypes().
void NLA_OT_mute_toggle | ( | wmOperatorType * | ot | ) |
Definition at line 1564 of file nla_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_toggle_mute_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by nla_operatortypes().
void NLA_OT_previewrange_set | ( | wmOperatorType * | ot | ) |
Definition at line 402 of file nla_edit.c.
References wmOperatorType::description, ED_operator_nla_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_previewrange_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by nla_operatortypes().
void NLA_OT_select_all | ( | wmOperatorType * | ot | ) |
Definition at line 176 of file nla_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_deselectall_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, ot, wmOperatorType::poll, and WM_operator_properties_select_all().
Referenced by nla_operatortypes().
void NLA_OT_select_box | ( | wmOperatorType * | ot | ) |
Definition at line 388 of file nla_select.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, nlaedit_box_select_exec(), nlaedit_box_select_invoke(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), wmOperatorType::srna, 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 557 of file nla_select.c.
References wmOperatorType::description, ED_operator_nla_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NLAEDIT_LRSEL_TEST, nlaedit_select_leftright_exec(), nlaedit_select_leftright_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_nlaedit_leftright_select_types, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by nla_operatortypes().
void NLA_OT_selected_objects_add | ( | wmOperatorType * | ot | ) |
Definition at line 811 of file nla_channels.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_objects_add_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by nla_operatortypes().
void NLA_OT_snap | ( | wmOperatorType * | ot | ) |
Definition at line 2488 of file nla_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, nlaedit_snap_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_nlaedit_snap_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by nla_operatortypes().
void NLA_OT_soundclip_add | ( | wmOperatorType * | ot | ) |
Definition at line 964 of file nla_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_add_sound_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by nla_operatortypes().
void NLA_OT_split | ( | wmOperatorType * | ot | ) |
Definition at line 1492 of file nla_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_split_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by nla_operatortypes().
void NLA_OT_swap | ( | wmOperatorType * | ot | ) |
Definition at line 1747 of file nla_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_swap_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by nla_operatortypes().
void NLA_OT_tracks_add | ( | wmOperatorType * | ot | ) |
Definition at line 675 of file nla_channels.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_add_tracks_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by nla_operatortypes().
void NLA_OT_tracks_delete | ( | wmOperatorType * | ot | ) |
Definition at line 755 of file nla_channels.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_delete_tracks_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by nla_operatortypes().
void NLA_OT_transition_add | ( | wmOperatorType * | ot | ) |
Definition at line 870 of file nla_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_add_transition_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by nla_operatortypes().
void NLA_OT_tweakmode_enter | ( | wmOperatorType * | ot | ) |
Definition at line 168 of file nla_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_enable_tweakmode_exec(), nlaop_poll_tweakmode_off(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by nla_operatortypes().
void NLA_OT_tweakmode_exit | ( | wmOperatorType * | ot | ) |
Definition at line 279 of file nla_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_disable_tweakmode_exec(), nlaop_poll_tweakmode_on(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by nla_operatortypes().
void NLA_OT_view_all | ( | wmOperatorType * | ot | ) |
Definition at line 540 of file nla_edit.c.
References wmOperatorType::description, ED_operator_nla_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_viewall_exec(), ot, and wmOperatorType::poll.
Referenced by nla_operatortypes().
void NLA_OT_view_frame | ( | wmOperatorType * | ot | ) |
Definition at line 583 of file nla_edit.c.
References wmOperatorType::description, ED_operator_nla_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_viewframe_exec(), ot, and wmOperatorType::poll.
Referenced by nla_operatortypes().
void NLA_OT_view_selected | ( | wmOperatorType * | ot | ) |
Definition at line 555 of file nla_edit.c.
References wmOperatorType::description, ED_operator_nla_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, nlaedit_viewsel_exec(), ot, and wmOperatorType::poll.
Referenced by nla_operatortypes().
bool nla_panel_context | ( | const bContext * | C, |
PointerRNA * | adt_ptr, | ||
PointerRNA * | nlt_ptr, | ||
PointerRNA * | strip_ptr | ||
) |
Definition at line 59 of file nla_buttons.c.
References bAnimListElem::adt, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_ACTIVE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, ANIMTYPE_DSARM, ANIMTYPE_DSCACHEFILE, ANIMTYPE_DSCAM, ANIMTYPE_DSCUR, ANIMTYPE_DSGPENCIL, ANIMTYPE_DSHAIR, ANIMTYPE_DSLAM, ANIMTYPE_DSLAT, ANIMTYPE_DSLINESTYLE, ANIMTYPE_DSMAT, ANIMTYPE_DSMBALL, ANIMTYPE_DSMESH, ANIMTYPE_DSNTREE, ANIMTYPE_DSPART, ANIMTYPE_DSPOINTCLOUD, ANIMTYPE_DSSIMULATION, ANIMTYPE_DSSKEY, ANIMTYPE_DSSPK, ANIMTYPE_DSTEX, ANIMTYPE_DSVOLUME, ANIMTYPE_DSWOR, ANIMTYPE_NLAACTION, ANIMTYPE_NLATRACK, ANIMTYPE_OBJECT, ANIMTYPE_PALETTE, ANIMTYPE_SCENE, BKE_nlastrip_find_active(), C, bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, filter(), ListBase::first, id, bAnimListElem::id, if(), bAnimListElem::next, NULL, RNA_pointer_create(), and bAnimListElem::type.
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 nlachannels_pushdown_exec().
bool nlaedit_add_tracks_empty | ( | bAnimContext * | ac | ) |
helper - add NLA Tracks to empty (and selected) AnimData blocks.
Definition at line 604 of file nla_channels.c.
References bAnimListElem::adt, 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_add(), BLI_assert, BLI_listbase_is_empty(), bAnimContext::data, bAnimContext::datatype, filter(), ListBase::first, AnimData::flag, bAnimListElem::id, ID_IS_OVERRIDE_LIBRARY, bAnimListElem::next, AnimData::nla_tracks, NULL, and bAnimListElem::update.
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 556 of file nla_channels.c.
References bAnimListElem::adt, 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_add(), bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, filter(), ListBase::first, bAnimListElem::id, ID_IS_OVERRIDE_LIBRARY, bAnimListElem::next, NULL, bAnimListElem::type, and bAnimListElem::update.
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 208 of file nla_edit.c.
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, bAnimListElem::data, bAnimContext::datatype, filter(), ListBase::first, AnimData::flag, Scene::flag, NC_ANIMATION, ND_NLA_ACTCHANGE, bAnimListElem::next, NULL, bAnimContext::reports, RPT_ERROR, SCE_NLA_EDIT_ON, bAnimContext::scene, bAnimListElem::update, and WM_main_add_notifier().
Referenced by mouse_nla_channels(), 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 72 of file nla_ops.c.
References Scene::flag, SCE_NLA_EDIT_ON, and bAnimContext::scene.
Referenced by mouse_nla_channels(), and nlachannels_pushdown_exec().
Tweak-mode is NOT enabled.
Definition at line 28 of file nla_ops.c.
References C, CTX_data_scene(), ED_operator_nla_active(), Scene::flag, NULL, SCE_NLA_EDIT_ON, and scene.
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().
Tweak-mode IS enabled.
Definition at line 50 of file nla_ops.c.
References C, CTX_data_scene(), ED_operator_nla_active(), Scene::flag, NULL, SCE_NLA_EDIT_ON, and scene.
Referenced by NLA_OT_tweakmode_exit().