summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-09-20 17:29:36 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-09-20 17:29:36 -0300
commit205634791c0de937427310738e8bab45d7096e12 (patch)
tree019b682777205098f39c029f3293451ea8e689d3 /scene/main
parent83d9a692be648668b5b363f2424c619e15639843 (diff)
fixed stupid bug caused by accidentally removed line before commit
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 089f3b5d63..d19b5767c2 100644
--- a/scene/main/viewport.cpp
+++ b/scene/main/viewport.cpp
@@ -319,6 +319,7 @@ void Viewport::_notification(int p_what) {
// update_worlds();
}
+ add_to_group("_viewports");
if (get_tree()->is_debugging_collisions_hint()) {
//2D
Physics2DServer::get_singleton()->space_set_debug_contacts(find_world_2d()->get_space(),get_tree()->get_collision_debug_contact_count());