Process commandlets without always initializing the entire engine
This commit is contained in:
parent
5491aecd5f
commit
794cfd78c8
12 changed files with 110 additions and 25 deletions
|
|
@ -20,7 +20,9 @@ LightmapBuildCmdlet::LightmapBuildCmdlet()
|
|||
|
||||
void LightmapBuildCmdlet::OnCommand(FArgs args)
|
||||
{
|
||||
Printf("Baking LIGHTMAP lump!\n");
|
||||
RunInGame([]() {
|
||||
Printf("Baking LIGHTMAP lump!\n");
|
||||
});
|
||||
}
|
||||
|
||||
void LightmapBuildCmdlet::OnPrintHelp()
|
||||
|
|
@ -38,7 +40,9 @@ LightmapDeleteCmdlet::LightmapDeleteCmdlet()
|
|||
|
||||
void LightmapDeleteCmdlet::OnCommand(FArgs args)
|
||||
{
|
||||
Printf("Deleting LIGHTMAP lump!\n");
|
||||
RunInGame([]() {
|
||||
Printf("Deleting LIGHTMAP lump!\n");
|
||||
});
|
||||
}
|
||||
|
||||
void LightmapDeleteCmdlet::OnPrintHelp()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue