瀏覽代碼

Fixed AnimationPlayer.get_autoplay() returning empty string

Rasmus Ketelsen 7 年之前
父節點
當前提交
02382c4fd8
共有 1 個文件被更改,包括 0 次插入1 次删除
  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)) {
 			if (!Engine::get_singleton()->is_editor_hint() && animation_set.has(autoplay)) {
 				play(autoplay);
 				play(autoplay);
-				set_autoplay(""); //this line is the fix for autoplay issues with animatio
 				_animation_process(0);
 				_animation_process(0);
 			}
 			}
 		} break;
 		} break;