mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-11-20 19:58:39 +00:00
fix: handle collmap geoms when dumping IW4 physcollmaps (#1055)
* fix: handle collmap geoms when dumping IW4 physcollmaps * chore: mention invalid brush data for broken collmap geom types --------- Co-authored-by: Jan Laupetin <[email protected]>
This commit is contained in:
1 parent
9fbdac971a
commit
737cfecf6d
1 file changed
+5
-2
@@ -36,8 +36,12 @@ namespace phys_collmap
|
||||
switch (geom.type)
|
||||
{
|
||||
case PHYS_GEOM_NONE:
|
||||
case PHYS_GEOM_COLLMAP:
|
||||
// TODO: Dump BrushWrapper (probably GJK related)
|
||||
mapFileDumper.WriteComment("TODO: Brush data");
|
||||
if (geom.brushWrapper)
|
||||
mapFileDumper.WriteComment("TODO: Brush data");
|
||||
else
|
||||
mapFileDumper.WriteComment("Invalid brush data");
|
||||
break;
|
||||
case PHYS_GEOM_BOX:
|
||||
mapFileDumper.WritePhysicsBox({
|
||||
@@ -60,7 +64,6 @@ namespace phys_collmap
|
||||
|
||||
case PHYS_GEOM_BRUSHMODEL:
|
||||
case PHYS_GEOM_BRUSH:
|
||||
case PHYS_GEOM_COLLMAP:
|
||||
case PHYS_GEOM_CAPSULE:
|
||||
case PHYS_GEOM_GLASS:
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user