mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-26 00:43:00 +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:
parent
3467ace8b0
commit
33072d44cb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user