Blender
V3.3
|
#include <stdio.h>
#include <string.h>
#include "DNA_scene_types.h"
#include "BKE_context.h"
#include "BKE_screen.h"
#include "ED_anim_api.h"
#include "ED_screen.h"
#include "RNA_access.h"
#include "WM_api.h"
#include "WM_types.h"
#include "nla_intern.h"
Go to the source code of this file.
Functions | |
bool | nlaop_poll_tweakmode_off (bContext *C) |
bool | nlaop_poll_tweakmode_on (bContext *C) |
bool | nlaedit_is_tweakmode_on (bAnimContext *ac) |
void | nla_operatortypes (void) |
void | ED_operatormacros_nla () |
void | nla_keymap (wmKeyConfig *keyconf) |
Definition at line 143 of file nla_ops.c.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorTypeMacro::ptr, RNA_boolean_set(), WM_operatortype_append_macro(), and WM_operatortype_macro_define().
Referenced by ED_spacemacros_init().
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().
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().