Fixed reload map. Increased distance field atlas and texture pool.
This commit is contained in:
parent
ff97d65cc0
commit
269344a3ec
|
@ -26,11 +26,13 @@ r.DefaultFeature.AmbientOcclusion=False
|
|||
r.DefaultFeature.AmbientOcclusionStaticFraction=False
|
||||
r.DefaultFeature.AutoExposure=False
|
||||
r.CustomDepth=3
|
||||
r.Streaming.PoolSize=2000
|
||||
r.Streaming.PoolSize=4000
|
||||
r.TextureStreaming=True
|
||||
r.GenerateMeshDistanceFields=True
|
||||
r.DistanceFieldBuild.EightBit=False
|
||||
r.DistanceFieldBuild.Compress=False
|
||||
r.DistanceFields.AtlasSizeXY=1024
|
||||
r.DistanceFields.AtlasSizeZ=2048
|
||||
|
||||
[/Script/AIModule.AISense_Sight]
|
||||
bAutoRegisterAllPawnsAsSources=False
|
||||
|
|
|
@ -229,6 +229,7 @@ void FCarlaServer::FPimpl::BindActions()
|
|||
{
|
||||
REQUIRE_CARLA_EPISODE();
|
||||
FString MapName = cr::ToFString(map_name);
|
||||
MapName = MapName.IsEmpty() ? Episode->GetMapName() : MapName;
|
||||
auto Maps = UCarlaStatics::GetAllMapNames();
|
||||
bool bMissingMap = true;
|
||||
for (auto & Map : Maps)
|
||||
|
|
Loading…
Reference in New Issue