summaryrefslogtreecommitdiff
path: root/scene/3d
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-06-11 17:25:43 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-06-11 17:25:43 -0300
commitdb1e9bac79ce4934e62b1c97586ff0ec19346ffb (patch)
tree0d81d932e1a19563627f3179401bfb002519b320 /scene/3d
parent375fbe5c7ce5ebeb45a04e7f6b8aa72b9fb06507 (diff)
better rewording
Diffstat (limited to 'scene/3d')
-rw-r--r--scene/3d/spatial.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/spatial.cpp b/scene/3d/spatial.cpp
index 39225284dc..920e56130c 100644
--- a/scene/3d/spatial.cpp
+++ b/scene/3d/spatial.cpp
@@ -718,7 +718,7 @@ void Spatial::look_at(const Vector3& p_target, const Vector3& p_up_normal) {
}
if (p_up_normal.cross(p_target-lookat.origin)==Vector3()) {
- ERR_EXPLAIN("Up vector and direction between node origin and target align, look_at() failed");
+ ERR_EXPLAIN("Up vector and direction between node origin and target are aligned, look_at() failed");
ERR_FAIL();
}
lookat=lookat.looking_at(p_target,p_up_normal);