diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-09-26 14:50:42 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-09-26 14:50:42 -0300 |
commit | c858515785e2406bfc07da587ffc3bb353b7504c (patch) | |
tree | fcde74c2f42288dc95c1c7d3680f78f6398929c2 /scene/3d | |
parent | ce6fefced8b0ac6d3be886db5ee1234dba7ec544 (diff) |
Fixed theora playback. Removed theoraplayer.
Still need to get proper audio output latency in some platforms.
Diffstat (limited to 'scene/3d')
-rw-r--r-- | scene/3d/navigation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/3d/navigation.cpp b/scene/3d/navigation.cpp index bfa8add09c..ce28350be0 100644 --- a/scene/3d/navigation.cpp +++ b/scene/3d/navigation.cpp @@ -295,12 +295,14 @@ Vector<Vector3> Navigation::get_simple_path(const Vector3& p_start, const Vector } } + if (!begin_poly || !end_poly) { //print_line("No Path Path"); return Vector<Vector3>(); //no path } + if (begin_poly==end_poly) { Vector<Vector3> path; |