diff options
| author | Juan Linietsky | 2015-12-15 09:17:32 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-12-15 09:17:32 -0300 |
| commit | b12a2f456ccccae315426c7dd358bcec87112a0c (patch) | |
| tree | 3017f2d5af49b85baa63703f29804b618953d350 /scene/gui/video_player.cpp | |
| parent | 4713bcccf3de5f8e0f577f29a67f38bfb8a99b57 (diff) | |
| download | godot-b12a2f456ccccae315426c7dd358bcec87112a0c.tar.gz godot-b12a2f456ccccae315426c7dd358bcec87112a0c.tar.zst godot-b12a2f456ccccae315426c7dd358bcec87112a0c.zip | |
Diffstat (limited to 'scene/gui/video_player.cpp')
| -rw-r--r-- | scene/gui/video_player.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/gui/video_player.cpp b/scene/gui/video_player.cpp index 22b19f50b..58683a07a 100644 --- a/scene/gui/video_player.cpp +++ b/scene/gui/video_player.cpp @@ -117,8 +117,9 @@ void VideoPlayer::_notification(int p_notification) { case NOTIFICATION_ENTER_TREE: { //set_idle_process(false); //don't annoy - if (stream.is_valid() && autoplay && !get_tree()->is_editor_hint()) + if (stream.is_valid() && autoplay && !get_tree()->is_editor_hint()) { play(); + } } break; case NOTIFICATION_PROCESS: { |
