Skip to content

v3.4.8

Choose a tag to compare

@agviegas agviegas released this 06 Oct 10:19

Patch release with two months of fixes. No breaking changes.

Smaller bundles

  • The ES build now ships one file per module and declares its side effects, so an app that only visualizes no longer bundles web-ifc (about 4.6 MB down to 0.8 MB in a Vite app). The worker went from 3.5 MB to 1.3 MB.

Fixes

  • Tiles no longer starve while the camera moves, and update(true) now resolves only when every loaded model has finished its pass (#300).
  • three r185 and later: tile world matrices stay correct, including after moving a model (#309).
  • Highlight ids are reclaimed on reset, and id 65536 is rejected instead of silently clearing the highlight (#299).
  • Disposing a model releases its tiles from the worker memory budget (#303).
  • The importer writes IFC type names that survive minification.
  • Grids: missing placement or GlobalId no longer drops grids; unsupported axis curves are reported (#263, #264).
  • getWorker() requests the worker at the exact path the package ships.
  • Geometry deduplication no longer merges distinct geometries (#237).

Additions

  • clippingPlanes load option and model.useClippingPlanes(); getClippingPlanesEvent still works and is deprecated (#302).
  • polygonOffsetFactor / polygonOffsetUnits on material definitions (#266).
  • Generated .frag files record the generator and version (#273).
  • SingleThreadedFragmentsModel.ready (#261).