mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
SceneMainLoop -> SceneTree
-=-=-=-=-=-=-=-=-=-=-=-=-=- *YOUR SOURCE MIGHT NOT WORK* For mor information on fix: https://github.com/okamstudio/godot/wiki/devel_scene_tree Other stuff: -Shower of bullets demo -Fixes all around
This commit is contained in:
@@ -199,9 +199,9 @@ void CollisionObject::_mouse_exit() {
|
||||
}
|
||||
|
||||
void CollisionObject::_update_pickable() {
|
||||
if (!is_inside_scene())
|
||||
if (!is_inside_tree())
|
||||
return;
|
||||
bool pickable = ray_pickable && is_inside_scene() && is_visible();
|
||||
bool pickable = ray_pickable && is_inside_tree() && is_visible();
|
||||
if (area)
|
||||
PhysicsServer::get_singleton()->area_set_ray_pickable(rid,pickable);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user