I've been messing around with some legacy .VMF files from Vampire the Masquerade: Bloodlines and I noticed a lot of these legacy maps will have dirty brushes with high-precision floating points on the side coordinates that will often times be wrongly flagged as corrupted due to the very low intersection tolerance. I suspect this is due to the conversion from a .VMF to a .BSP and then back.
From my brief testing, increasing it to 0.01 will remove the false-positives while properly flagging the invalid brushes.
##vmf_solid.gd
var valid := true;
for s in sides:
if s.plane.distance_to(vertex) > 0.001:
valid = false;
break;
if not valid: continue;
I've been messing around with some legacy .VMF files from Vampire the Masquerade: Bloodlines and I noticed a lot of these legacy maps will have dirty brushes with high-precision floating points on the side coordinates that will often times be wrongly flagged as corrupted due to the very low intersection tolerance. I suspect this is due to the conversion from a .VMF to a .BSP and then back.
From my brief testing, increasing it to 0.01 will remove the false-positives while properly flagging the invalid brushes.