summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-09-16 21:19:54 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-09-16 21:19:54 -0300
commitf00f4b9296a827ac1014cc2cc84b0dfbb4cac497 (patch)
tree57da76829a89ceb42d258865a3a4afb3cf51d5d4 /scene/main
parent642c63319eb7471c9accc0c50dfffef5d72c0078 (diff)
CollisionPolygon (3D)
Workaround for round() on PC.
Diffstat (limited to 'scene/main')
-rw-r--r--scene/main/viewport.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp
index 83dd64c31d..92dcef803c 100644
--- a/scene/main/viewport.cpp
+++ b/scene/main/viewport.cpp
@@ -1252,6 +1252,7 @@ void Viewport::_bind_methods() {
ObjectTypeDB::bind_method(_MD("set_use_own_world","enable"), &Viewport::set_use_own_world);
ObjectTypeDB::bind_method(_MD("is_using_own_world"), &Viewport::is_using_own_world);
+ ObjectTypeDB::bind_method(_MD("get_camera:Camera"), &Viewport::get_camera);
ObjectTypeDB::bind_method(_MD("set_as_audio_listener","enable"), &Viewport::set_as_audio_listener);
ObjectTypeDB::bind_method(_MD("is_audio_listener","enable"), &Viewport::is_audio_listener);