You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Reworked signal connection system, added support for Callable and Signal objects and made them default.
This commit is contained in:
committed by
Juan Linietsky
parent
1a4be2cd8f
commit
69c95f4b4c
@@ -334,7 +334,7 @@ void AnimationTrackEditAudio::_bind_methods() {
|
||||
}
|
||||
|
||||
AnimationTrackEditAudio::AnimationTrackEditAudio() {
|
||||
AudioStreamPreviewGenerator::get_singleton()->connect("preview_updated", this, "_preview_changed");
|
||||
AudioStreamPreviewGenerator::get_singleton()->connect_compat("preview_updated", this, "_preview_changed");
|
||||
}
|
||||
|
||||
/// SPRITE FRAME / FRAME_COORDS ///
|
||||
@@ -949,7 +949,7 @@ void AnimationTrackEditTypeAudio::_bind_methods() {
|
||||
}
|
||||
|
||||
AnimationTrackEditTypeAudio::AnimationTrackEditTypeAudio() {
|
||||
AudioStreamPreviewGenerator::get_singleton()->connect("preview_updated", this, "_preview_changed");
|
||||
AudioStreamPreviewGenerator::get_singleton()->connect_compat("preview_updated", this, "_preview_changed");
|
||||
len_resizing = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user