@shopware-ag/dive 1.6.1 → 1.6.2

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/build/dive.cjs CHANGED
@@ -812,6 +812,10 @@ var _DIVECommunication = class _DIVECommunication {
812
812
  returnValue = this.setGizmoVisibility(payload);
813
813
  break;
814
814
  }
815
+ case "USE_TOOL": {
816
+ returnValue = this.useTool(payload);
817
+ break;
818
+ }
815
819
  case "MODEL_LOADED": {
816
820
  returnValue = this.modelLoaded(payload);
817
821
  break;
@@ -996,6 +1000,10 @@ var _DIVECommunication = class _DIVECommunication {
996
1000
  this.toolbox.SetGizmoVisibility(payload);
997
1001
  return payload;
998
1002
  }
1003
+ useTool(payload) {
1004
+ this.toolbox.UseTool(payload.tool);
1005
+ return true;
1006
+ }
999
1007
  modelLoaded(payload) {
1000
1008
  this.registered.get(payload.id).loaded = true;
1001
1009
  return true;