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