Explorar o código

Fixed AnimationPlayer.get_autoplay() returning empty string

Rasmus Ketelsen %!s(int64=7) %!d(string=hai) anos
pai
achega
02382c4fd8
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      scene/animation/animation_player.cpp

+ 0 - 1
scene/animation/animation_player.cpp

@@ -202,7 +202,6 @@ void AnimationPlayer::_notification(int p_what) {
 
 			if (!Engine::get_singleton()->is_editor_hint() && animation_set.has(autoplay)) {
 				play(autoplay);
-				set_autoplay(""); //this line is the fix for autoplay issues with animatio
 				_animation_process(0);
 			}
 		} break;