Generate LOD Lights streetLight research, fix for MenyooXML import static objects

This commit is contained in:
dexy
2019-01-26 09:00:38 +11:00
Unverified
parent 449fcb7424
commit 0790169e2e
2 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -2042,7 +2042,7 @@ namespace CodeWalker.Project
cent.rotation = placement.Rotation;
cent.scaleXY = 1.0f;
cent.scaleZ = 1.0f;
cent.flags = placement.Dynamic ? 32u : 0;// 1572872; //?
cent.flags = placement.Dynamic ? 0 : 32u;// 1572872; //32 = static
cent.parentIndex = -1;
cent.lodDist = placement.LodDistance;
cent.lodLevel = rage__eLodType.LODTYPES_DEPTH_ORPHANHD;