Преглед изворни кода

Fix AudioStreamPlayer3D autoplay and internal notifications

Aaron Franke пре 1 година
родитељ
комит
52aa5668fe
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      scene/3d/audio_stream_player_3d.cpp

+ 1 - 0
scene/3d/audio_stream_player_3d.cpp

@@ -240,6 +240,7 @@ float AudioStreamPlayer3D::_get_attenuation_db(float p_distance) const {
 }
 
 void AudioStreamPlayer3D::_notification(int p_what) {
+	internal->notification(p_what);
 	switch (p_what) {
 		case NOTIFICATION_ENTER_TREE: {
 			velocity_tracker->reset(get_global_transform().origin);