Skip to content

Commit

Permalink
Merge pull request #1429 from xeokit/fix-surface-pick-behind-axis-sec…
Browse files Browse the repository at this point in the history
…tion-plane

[FIX] Distance measurement tool not working when model has a slice on specific axis #1428
  • Loading branch information
xeolabs authored Apr 1, 2024
2 parents f3767d8 + 519f76b commit 7d958e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ class DistanceMeasurement extends Component {

if (this._sectionPlanesDirty) {

if (this._isSliced(this._wp)) {
if (this._isSliced(this._originWorld) || this._isSliced(this._targetWorld)) {
this._xAxisLabel.setCulled(true);
this._yAxisLabel.setCulled(true);
this._zAxisLabel.setCulled(true);
Expand Down

0 comments on commit 7d958e8

Please sign in to comment.