three-cad-viewer 5.0.4 → 5.0.5

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.
@@ -359,6 +359,8 @@ declare class Display {
359
359
  /**
360
360
  * Checkbox Handler for setting the tools mode.
361
361
  * Delegates state mutations to Viewer.activateTool() to maintain unidirectional data flow.
362
+ * The active tab is left untouched: a measure/select tool can run on any tab,
363
+ * including Clip, so a sectioned model can be measured.
362
364
  */
363
365
  setTool: (name: string, flag: boolean) => void;
364
366
  /**
@@ -395,16 +397,6 @@ declare class Display {
395
397
  * @internal
396
398
  */
397
399
  private _restoreToolsAfterStudio;
398
- /**
399
- * Entering Clip mode: hide the measure + select tool buttons (a measure/select
400
- * tool can't be active here — it disables the clip tab — but the buttons must not
401
- * be invocable while clipping). Mirrors {@link _deactivateToolsForStudio};
402
- * explode/zscale stay enabled for consistency with studio mode. Restored by
403
- * {@link _restoreToolsAfterClip} on leave.
404
- */
405
- private _deactivateToolsForClip;
406
- /** Leaving Clip mode: restore measure + select buttons per their feature flags. */
407
- private _restoreToolsAfterClip;
408
400
  /**
409
401
  * Checkbox Handler for setting the clip planes parameter
410
402
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "three-cad-viewer",
3
- "version": "5.0.4",
3
+ "version": "5.0.5",
4
4
  "type": "module",
5
5
  "description": "WebGL-based CAD viewer built on Three.js with clipping planes, measurement tools, and tree navigation",
6
6
  "repository": {