fixed stupid bug caused by accidentally removed line before commit

This commit is contained in:
Juan Linietsky 2015-09-20 17:29:36 -03:00
parent 83d9a692be
commit 205634791c

View file

@ -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());