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
27 stars 1 forks source link

[bug] RebuildAccel doesn't handle NULL entities or those without a valid model #8

Closed Derpius closed 3 years ago

Derpius commented 3 years ago

Describe the bug A NULL entity will currently throw a generic GLua error (this may be adequate, however untested), and an entity with either no model or a model not present on client hasn't been tested (depending on how util.GetModelMeshes works, this either works fine, by just not adding any meshes, or if it returns nil then it will throw an error).

Derpius commented 3 years ago

Fixed in 000e43157255521096167fcb7c9081a9dc1a6d37