浏览代码

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)) {
 				play(autoplay);
-				set_autoplay(""); //this line is the fix for autoplay issues with animatio
 				_animation_process(0);
 			}
 		} break;