@xeokit/xeokit-sdk 2.4.0-alpha-95 → 2.4.0-alpha-97
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/dist/xeokit-sdk.cjs.js +10 -0
- package/dist/xeokit-sdk.es.js +10 -0
- package/dist/xeokit-sdk.es5.js +5 -1
- package/dist/xeokit-sdk.min.cjs.js +1 -1
- package/dist/xeokit-sdk.min.es.js +1 -1
- package/dist/xeokit-sdk.min.es5.js +1 -1
- package/package.json +1 -1
- package/src/plugins/DistanceMeasurementsPlugin/DistanceMeasurementsPlugin.js +10 -0
package/package.json
CHANGED
|
@@ -469,6 +469,16 @@ class DistanceMeasurementsPlugin extends Plugin {
|
|
|
469
469
|
for (const [key, measurement] of Object.entries(this.measurements)) {
|
|
470
470
|
measurement.axisVisible = axisVisible;
|
|
471
471
|
}
|
|
472
|
+
this.defaultAxisVisible = axisVisible;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Gets if the axis wires of each {@link DistanceMeasurement} are visible.
|
|
477
|
+
*
|
|
478
|
+
* @returns {Boolean} Whether or not the axis wires are visible.
|
|
479
|
+
*/
|
|
480
|
+
getAxisVisible() {
|
|
481
|
+
return this.defaultAxisVisible;
|
|
472
482
|
}
|
|
473
483
|
|
|
474
484
|
/**
|