@xeokit/xeokit-sdk 2.4.2-beta-37 → 2.4.2-beta-38

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.4.2-beta-37",
3
+ "version": "2.4.2-beta-38",
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",
@@ -48,7 +48,7 @@ export class TrianglesDataTextureSnapDepthBufInitRenderer {
48
48
  const textureState = state.textureState;
49
49
  const origin = dataTextureLayer._state.origin;
50
50
  const {position, rotationMatrix, rotationMatrixConjugate} = model;
51
- const aabb = dataTextureLayer.aabb;
51
+ const aabb = model.aabb;
52
52
  const viewMatrix = frameCtx.pickViewMatrix || camera.viewMatrix;
53
53
 
54
54
  const coordinateScaler = tempVec3a;
@@ -52,7 +52,7 @@ export class TrianglesDataTextureSnapDepthRenderer {
52
52
  const textureState = state.textureState;
53
53
  const origin = dataTextureLayer._state.origin;
54
54
  const {position, rotationMatrix, rotationMatrixConjugate} = model;
55
- const aabb = dataTextureLayer.aabb;
55
+ const aabb = model.aabb;
56
56
  const viewMatrix = frameCtx.pickViewMatrix || camera.viewMatrix;
57
57
 
58
58
  const coordinateScaler = tempVec3a;