mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-25 08:22:54 +08:00
Corrige problema de LODDIST na importação Menyo
LODDistance is a positive number from 0 to 65535
This commit is contained in:
parent
c45ea83733
commit
52b7da7096
@ -3230,7 +3230,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 < 10000) ? placement.LodDistance : -1;
|
cent.lodDist = (placement.LodDistance < 65535 ) ? placement.LodDistance : 65535;
|
||||||
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