Skip to content

Commit ff3f733

Browse files
committed
Fix crash, properties were causing issues
1 parent 2093c49 commit ff3f733

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/audio_stream_mpt.cpp

-9
Original file line numberDiff line numberDiff line change
@@ -362,15 +362,6 @@ void AudioStreamPlaybackMPT::_bind_methods() {
362362

363363
ClassDB::bind_method(D_METHOD("set_note_finetune", "channel", "finetune"), &AudioStreamPlaybackMPT::set_note_finetune);
364364
ClassDB::bind_method(D_METHOD("get_note_finetune", "channel"), &AudioStreamPlaybackMPT::get_note_finetune);
365-
366-
ADD_PROPERTY(PropertyInfo(Variant::INT, "subsong"), "select_subsong", "get_selected_subsong");
367-
ADD_PROPERTY(PropertyInfo(Variant::INT, "current_order"), "set_current_order", "get_current_order");
368-
ADD_PROPERTY(PropertyInfo(Variant::INT, "current_row"), "set_current_row", "get_current_row");
369-
ADD_PROPERTY(PropertyInfo(Variant::INT, "speed"), "set_current_speed", "get_current_speed");
370-
ADD_PROPERTY(PropertyInfo(Variant::INT, "tempo"), "set_current_tempo", "get_current_tempo");
371-
ADD_PROPERTY(PropertyInfo(Variant::INT, "tempo_factor"), "set_tempo_factor", "get_tempo_factor");
372-
ADD_PROPERTY(PropertyInfo(Variant::INT, "pitch_factor"), "set_pitch_factor", "get_pitch_factor");
373-
ADD_PROPERTY(PropertyInfo(Variant::INT, "global_volume"), "set_global_volume", "get_global_volume");
374365
}
375366

376367
AudioStreamPlaybackMPT::AudioStreamPlaybackMPT() {}

0 commit comments

Comments
 (0)