2
0
Эх сурвалжийг харах

fixed stupid bug caused by accidentally removed line before commit

Juan Linietsky 10 жил өмнө
parent
commit
205634791c

+ 1 - 0
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());