@xeokit/xeokit-sdk 2.6.0-beta-7 → 2.6.0-beta-8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xeokit/xeokit-sdk",
3
- "version": "2.6.0-beta-7",
3
+ "version": "2.6.0-beta-8",
4
4
  "description": "Web Programming Toolkit for 3D/2D BIM and AEC Graphics",
5
5
  "module": "./dist/xeokit-sdk.es.js",
6
6
  "main": "./dist/xeokit-sdk.cjs.js",
@@ -103,6 +103,9 @@ class CameraUpdater {
103
103
  }
104
104
  }
105
105
  }
106
+ } else {
107
+ dollyDistFactor = 1;
108
+ followPointerWorldPos = null;
106
109
  }
107
110
 
108
111
  const dollyDeltaForDist = (updates.dollyDelta * dollyDistFactor);
@@ -309,4 +312,4 @@ class CameraUpdater {
309
312
  }
310
313
  }
311
314
 
312
- export {CameraUpdater};
315
+ export {CameraUpdater};
@@ -860,7 +860,9 @@ export class DTXTrianglesLayer {
860
860
  // Color
861
861
 
862
862
  let f0;
863
- if (!visible || culled || xrayed) { // Highlight & select are layered on top of color - not mutually exclusive
863
+ if (!visible || culled || xrayed
864
+ || (highlighted && !this.model.scene.highlightMaterial.glowThrough)
865
+ || (selected && !this.model.scene.selectedMaterial.glowThrough)) {
864
866
  f0 = RENDER_PASSES.NOT_RENDERED;
865
867
  } else {
866
868
  if (transparent) {