@xeokit/xeokit-sdk 2.6.0-beta-9 → 2.6.0-beta-10

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-9",
3
+ "version": "2.6.0-beta-10",
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",
@@ -353,7 +353,7 @@ class DistanceMeasurement extends Component {
353
353
 
354
354
  if (this._sectionPlanesDirty) {
355
355
 
356
- if (this._isSliced(this._wp)) {
356
+ if (this._isSliced(this._originWorld) || this._isSliced(this._targetWorld)) {
357
357
  this._xAxisLabel.setCulled(true);
358
358
  this._yAxisLabel.setCulled(true);
359
359
  this._zAxisLabel.setCulled(true);