Skip to content

Commit

Permalink
Add type hints to entities list to test webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
myuce committed Apr 2, 2024
1 parent 24caf74 commit 5149e84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/MapExporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,8 @@ def exportMap(
if not brush.isToolBrush and not brush.hasDisp:
brushDict[brush.id] = brush

for i, entity in enumerate(mapData["entities"], lenWorld + lenEntBrushes):
entities: Dict[str, str] = mapData["entities"]
for i, entity in enumerate(entities, lenWorld + lenEntBrushes):
if "origin" in entity:
origin = Vector3.FromStr(entity["origin"]) * scale
AABBmax.set(AABBmax.max(origin))
Expand Down

0 comments on commit 5149e84

Please # to comment.