Merge branch 'ue5-dev' of https://github.com/carla-simulator/carla into ue5-dev
This commit is contained in:
commit
c77c128b15
|
@ -179,6 +179,7 @@ def get_actor_blueprints(world, filter, generation):
|
|||
class World(object):
|
||||
def __init__(self, carla_world, hud, args):
|
||||
self.world = carla_world
|
||||
self.args = args
|
||||
self.sync = args.sync
|
||||
self.actor_role_name = args.rolename
|
||||
try:
|
||||
|
|
|
@ -691,7 +691,8 @@ void FCarlaServer::FPimpl::BindActions()
|
|||
auto *Weather = Episode->GetWeather();
|
||||
if (Weather == nullptr)
|
||||
{
|
||||
RESPOND_ERROR("internal error: unable to find weather:: weather is disabled");
|
||||
UE_LOG(LogCarla, Error, TEXT("internal error: unable to find weather:: weather is disabled"));
|
||||
return cr::WeatherParameters();
|
||||
}
|
||||
return Weather->GetCurrentWeather();
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue