Skip to content

Commit c527176

Browse files
chore: version packages (#684)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 542885c commit c527176

10 files changed

Lines changed: 37 additions & 28 deletions

File tree

.changeset/lens-ifcspace-color-overrides.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

.changeset/quiet-globes-shift.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ members = ["rust/core", "rust/engine", "rust/geometry", "rust/processing", "rust
33
resolver = "2"
44

55
[workspace.package]
6-
version = "2.4.0"
6+
version = "2.4.1"
77
edition = "2021"
88
authors = ["IFC-Lite Contributors"]
99
license = "MPL-2.0"
1010
repository = "https://github.com/louistrue/ifc-lite"
1111

1212
[workspace.dependencies]
13-
ifc-lite-core = { version = "2.4.0", path = "rust/core" }
13+
ifc-lite-core = { version = "2.4.1", path = "rust/core" }
1414
ifc-lite-engine = { version = "2.1.7", path = "rust/engine" }
15-
ifc-lite-geometry = { version = "2.4.0", path = "rust/geometry" }
15+
ifc-lite-geometry = { version = "2.4.1", path = "rust/geometry" }
1616
ifc-lite-processing = { version = "2.1.7", path = "rust/processing" }
17-
ifc-lite-wasm = { version = "2.4.0", path = "rust/wasm-bindings" }
17+
ifc-lite-wasm = { version = "2.4.1", path = "rust/wasm-bindings" }
1818

1919
[profile.release]
2020
opt-level = 3 # Optimize for speed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ifc-lite",
3-
"version": "2.4.0",
3+
"version": "2.4.1",
44
"description": "High-performance browser IFC parser & renderer",
55
"private": true,
66
"type": "module",

packages/ids/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @ifc-lite/ids
22

3+
## 1.15.2
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`bfb5e1b`](https://github.com/louistrue/ifc-lite/commit/bfb5e1bdc917ab771de4540b6c5686b9fb0e5fa7)]:
8+
- @ifc-lite/parser@2.4.1
9+
310
## 1.15.1
411

512
### Patch Changes

packages/ids/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ifc-lite/ids",
3-
"version": "1.15.1",
3+
"version": "1.15.2",
44
"description": "IDS (Information Delivery Specification) support for IFC-Lite",
55
"type": "module",
66
"main": "./dist/index.js",

packages/parser/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @ifc-lite/parser
22

3+
## 2.4.1
4+
5+
### Patch Changes
6+
7+
- [#658](https://github.com/louistrue/ifc-lite/pull/658) [`bfb5e1b`](https://github.com/louistrue/ifc-lite/commit/bfb5e1bdc917ab771de4540b6c5686b9fb0e5fa7) Thanks [@louistrue](https://github.com/louistrue)! - Restore IFC2X3 georeferencing extraction from legacy site locations and standard map conversion data so Cesium placement and inspector metadata stay available for older models.
8+
39
## 2.4.0
410

511
### Minor Changes

packages/parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ifc-lite/parser",
3-
"version": "2.4.0",
3+
"version": "2.4.1",
44
"description": "IFC/STEP parser for IFC-Lite",
55
"type": "module",
66
"main": "./dist/index.js",

packages/renderer/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# @ifc-lite/renderer
22

3+
## 1.20.1
4+
5+
### Patch Changes
6+
7+
- [#682](https://github.com/louistrue/ifc-lite/pull/682) [`cb15422`](https://github.com/louistrue/ifc-lite/commit/cb15422794118d1743d8a6027e5a1cff1e01e328) Thanks [@louistrue](https://github.com/louistrue)! - Fix lens / Pset colour rules silently failing on IfcSpace, IfcOpeningElement, and other transparent-by-default entity types (issue #677).
8+
9+
The lens system paints colour overrides through a second pass whose pipeline uses `depthCompare: 'equal'`, so it only paints where the base draw already wrote depth. The transparent pipeline runs with `depthWriteEnabled: false`, so any colour rule targeting an entity that defaults to transparent (IfcSpace alpha 0.3, IfcOpeningElement alpha 0.4, glass, …) was silently dropped — the equality test never matched and the chosen colour never appeared.
10+
11+
The renderer now consults `scene.getColorOverrides()` when classifying meshes and batches for the opaque-vs-transparent pipeline split. Meshes whose `expressId` carries an override at alpha ≥ 0.2 are promoted to the opaque pipeline so the base draw writes depth, and the overlay paint pass then paints the chosen colour on top. Ghost-tier auto-fades (alpha 0.15) are deliberately left in the transparent path to preserve existing fade behaviour for unmatched entities.
12+
13+
Transparent batches with **mixed** override membership (e.g. a colour rule targeting only some IfcSpaces) are split into a "promoted" sub-batch (all overridden — opaque routing) and a "remaining" sub-batch (no overrides — transparent routing) via the existing partial-batch cache, so non-overridden batchmates keep their native transparent rendering. The classifier itself only promotes batches where every id is deliberately overridden.
14+
15+
`Scene.getColorOverrides()` returns a `ReadonlyMap` view and `setColorOverrides` takes a defensive copy, so external callers can't mutate the renderer's pipeline-routing state out from under the overlay batches.
16+
17+
Pure routing logic lives in a new `overlay-routing.ts` helper that's unit-tested without a GPU device (22 tests).
18+
319
## 1.20.0
420

521
### Minor Changes

packages/renderer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ifc-lite/renderer",
3-
"version": "1.20.0",
3+
"version": "1.20.1",
44
"description": "WebGPU renderer for IFC-Lite",
55
"type": "module",
66
"main": "./dist/index.js",

0 commit comments

Comments
 (0)