mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-14 20:12:39 +08:00
Generate LOD Lights tool (WIP)
This commit is contained in:
@@ -327,6 +327,13 @@ namespace CodeWalker.Project
|
||||
(panel) => { panel.SetProject(CurrentProjectFile); }, //updateFunc
|
||||
(panel) => { return true; }); //findFunc
|
||||
}
|
||||
public void ShowGenerateLODLightsPanel(bool promote)
|
||||
{
|
||||
ShowPanel(promote,
|
||||
() => { return new GenerateLODLightsPanel(this); }, //createFunc
|
||||
(panel) => { panel.SetProject(CurrentProjectFile); }, //updateFunc
|
||||
(panel) => { return true; }); //findFunc
|
||||
}
|
||||
public void ShowGenerateNavMeshPanel(bool promote)
|
||||
{
|
||||
ShowPanel(promote,
|
||||
@@ -6840,6 +6847,10 @@ namespace CodeWalker.Project
|
||||
{
|
||||
ShowEditProjectManifestPanel(false);
|
||||
}
|
||||
private void ToolsLODLightsGeneratorMenu_Click(object sender, EventArgs e)
|
||||
{
|
||||
ShowGenerateLODLightsPanel(false);
|
||||
}
|
||||
private void ToolsNavMeshGeneratorMenu_Click(object sender, EventArgs e)
|
||||
{
|
||||
ShowGenerateNavMeshPanel(false);
|
||||
|
||||
Reference in New Issue
Block a user