mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-14 07:34:52 +08:00
Fixed bug where distant lod lights ymap wasn't being auto added to project when a lodlight was edited in world view
This commit is contained in:
@@ -7841,6 +7841,11 @@ namespace CodeWalker.Project
|
||||
|
||||
if (!YmapExistsInProject(lodlight.Ymap))
|
||||
{
|
||||
if (lodlight.DistLodLights?.Ymap != null)
|
||||
{
|
||||
AddYmapToProject(lodlight.DistLodLights.Ymap);
|
||||
lodlight.DistLodLights.Ymap.HasChanged = true;
|
||||
}
|
||||
lodlight.Ymap.HasChanged = true;
|
||||
AddYmapToProject(lodlight.Ymap);
|
||||
ProjectExplorer?.TrySelectLodLightTreeNode(lodlight);
|
||||
|
||||
Reference in New Issue
Block a user