Initial checkin of Blueprint-MCP plugin

This commit is contained in:
2026-03-05 19:26:46 -05:00
parent 9cc1cb502b
commit 8367bd2221
4571 changed files with 1211887 additions and 7 deletions

View File

@@ -369,11 +369,12 @@ def run_generateprojectfiles_in_sandbox():
shutil.rmtree(sandbox)
sandbox.mkdir()
(sandbox / "Integration.uproject").write_bytes(Path(f"{INTEGRATION}/Integration.uproject").read_bytes())
for name in ["Source", "Config", "Content"]:
(sandbox / name).symlink_to(f"../{name}")
for name in ["Source", "Config", "Content", "Plugins"]:
if (Path(INTEGRATION) / name).exists():
(sandbox / name).symlink_to(f"../{name}")
shell(str(sandbox), f'{UNREALENGINE}/GenerateProjectFiles.{BAT} -projectfiles -project="{sandbox}/Integration.uproject" -game')
# Remove the symlinks and uproject copy, leaving only generated files
for name in ["Source", "Config", "Content", "Integration.uproject"]:
for name in ["Source", "Config", "Content", "Plugins", "Integration.uproject"]:
(sandbox / name).unlink()