mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-14 03:14:46 +08:00
Added sane limit for specified LOD dist on menyoo XML import
This commit is contained in:
@@ -2371,7 +2371,7 @@ namespace CodeWalker.Project
|
||||
cent.scaleZ = 1.0f;
|
||||
cent.flags = placement.Dynamic ? 0 : 32u;// 1572872; //32 = static
|
||||
cent.parentIndex = -1;
|
||||
cent.lodDist = placement.LodDistance;
|
||||
cent.lodDist = (placement.LodDistance < 10000) ? placement.LodDistance : -1;
|
||||
cent.lodLevel = rage__eLodType.LODTYPES_DEPTH_ORPHANHD;
|
||||
cent.priorityLevel = rage__ePriorityLevel.PRI_REQUIRED;
|
||||
cent.ambientOcclusionMultiplier = 255;
|
||||
|
||||
Reference in New Issue
Block a user