|
@@ -6102,7 +6102,7 @@ void AnimationTrackEditor::goto_prev_step(bool p_from_mouse_event) {
|
|
pos = 0;
|
|
pos = 0;
|
|
}
|
|
}
|
|
set_anim_pos(pos);
|
|
set_anim_pos(pos);
|
|
- emit_signal(SNAME("timeline_changed"), pos, false);
|
|
|
|
|
|
+ _timeline_changed(pos, false);
|
|
}
|
|
}
|
|
|
|
|
|
void AnimationTrackEditor::goto_next_step(bool p_from_mouse_event, bool p_timeline_only) {
|
|
void AnimationTrackEditor::goto_next_step(bool p_from_mouse_event, bool p_timeline_only) {
|
|
@@ -6129,7 +6129,7 @@ void AnimationTrackEditor::goto_next_step(bool p_from_mouse_event, bool p_timeli
|
|
}
|
|
}
|
|
set_anim_pos(pos);
|
|
set_anim_pos(pos);
|
|
|
|
|
|
- emit_signal(SNAME("timeline_changed"), pos, p_timeline_only);
|
|
|
|
|
|
+ _timeline_changed(pos, p_timeline_only);
|
|
}
|
|
}
|
|
|
|
|
|
void AnimationTrackEditor::_edit_menu_pressed(int p_option) {
|
|
void AnimationTrackEditor::_edit_menu_pressed(int p_option) {
|
|
@@ -7101,7 +7101,7 @@ void AnimationTrackEditor::_bind_methods() {
|
|
|
|
|
|
ClassDB::bind_method(D_METHOD("_bezier_track_set_key_handle_mode", "animation", "track_idx", "key_idx", "key_handle_mode", "key_handle_set_mode"), &AnimationTrackEditor::_bezier_track_set_key_handle_mode, DEFVAL(Animation::HANDLE_SET_MODE_NONE));
|
|
ClassDB::bind_method(D_METHOD("_bezier_track_set_key_handle_mode", "animation", "track_idx", "key_idx", "key_handle_mode", "key_handle_set_mode"), &AnimationTrackEditor::_bezier_track_set_key_handle_mode, DEFVAL(Animation::HANDLE_SET_MODE_NONE));
|
|
|
|
|
|
- ADD_SIGNAL(MethodInfo("timeline_changed", PropertyInfo(Variant::FLOAT, "position"), PropertyInfo(Variant::BOOL, "timeline_only")));
|
|
|
|
|
|
+ ADD_SIGNAL(MethodInfo("timeline_changed", PropertyInfo(Variant::FLOAT, "position"), PropertyInfo(Variant::BOOL, "timeline_only"), PropertyInfo(Variant::BOOL, "update_position_only")));
|
|
ADD_SIGNAL(MethodInfo("keying_changed"));
|
|
ADD_SIGNAL(MethodInfo("keying_changed"));
|
|
ADD_SIGNAL(MethodInfo("animation_len_changed", PropertyInfo(Variant::FLOAT, "len")));
|
|
ADD_SIGNAL(MethodInfo("animation_len_changed", PropertyInfo(Variant::FLOAT, "len")));
|
|
ADD_SIGNAL(MethodInfo("animation_step_changed", PropertyInfo(Variant::FLOAT, "step")));
|
|
ADD_SIGNAL(MethodInfo("animation_step_changed", PropertyInfo(Variant::FLOAT, "step")));
|