Derpius / VisTrace

Garry's Mod binary module for tracing meshes at high speed on the CPU (and much more)
https://derpius.github.io/VisTrace
MIT License
28 stars 1 forks source link

[bug] Error entities trigger Lua errors on the client #10

Closed Derpius closed 3 years ago

Derpius commented 3 years ago

Too late to make a proper description so here's enough for me to remember tomorrow: Probably due to being an error on the client, the bigcity gnome causes argument 7 of some internal function call in RebuildAccel to be nil instead of an expected table (no idea what the function that throws this is), most likely fix would just be moving the GetModelMeshes nil checks higher in the function.

Derpius commented 3 years ago

Fixed in e9c88dddb8914f02cf05ba819aebe7d0674a7d97, issue was just using CheckType instead of a descriptive error.