sunrize 1.3.1 → 1.3.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sunrize",
3
3
  "productName": "Sunrize X3D Editor",
4
- "version": "1.3.1",
4
+ "version": "1.3.2",
5
5
  "description": "A Multi-Platform X3D Editor",
6
6
  "main": "src/main.js",
7
7
  "bin": {
@@ -91,7 +91,7 @@
91
91
  "qtip2": "^3.0.3",
92
92
  "spectrum-colorpicker2": "^2.0.10",
93
93
  "string-similarity": "^4.0.4",
94
- "x_ite": "^9.1.7"
94
+ "x_ite": "^9.1.8"
95
95
  },
96
96
  "config": {
97
97
  "forge": {
@@ -10,13 +10,13 @@ class GeoViewpointTool extends X3DViewpointNodeTool
10
10
  {
11
11
  await super .initializeTool ();
12
12
 
13
- this .node ._position .addInterest ("set_node_position__", this);
14
- this .tool .getField ("position") .addInterest ("set_tool_position__", this);
13
+ this .node ._position .addInterest ("set_node_position", this);
14
+ this .tool .getField ("position") .addInterest ("set_tool_position", this);
15
15
 
16
- this .set_node_position__ ();
16
+ this .set_node_position ();
17
17
  }
18
18
 
19
- set_node_position__ ()
19
+ set_node_position ()
20
20
  {
21
21
  if (this .#changing)
22
22
  {
@@ -29,7 +29,7 @@ class GeoViewpointTool extends X3DViewpointNodeTool
29
29
  this .tool .position = this .node .getPosition ();
30
30
  }
31
31
 
32
- set_tool_position__ ()
32
+ set_tool_position ()
33
33
  {
34
34
  if (this .#changing)
35
35
  {
@@ -4,8 +4,9 @@ const
4
4
  X3DChildNodeTool = require ("../Core/X3DChildNodeTool"),
5
5
  X3D = require ("../../X3D"),
6
6
  Editor = require ("../../Undo/Editor"),
7
- ActionKeys = require ("../../Application/ActionKeys"),
8
- _ = require ("../../Application/GetText");
7
+ ActionKeys = require ("../../Application/ActionKeys");
8
+
9
+ console .info ("Double-click on the handles of the arrow, sphere and box axes to cycle through the translation, rotation and scaling tools.");
9
10
 
10
11
  class X3DTransformNodeTool extends X3DChildNodeTool
11
12
  {
@@ -19,7 +20,7 @@ class X3DTransformNodeTool extends X3DChildNodeTool
19
20
 
20
21
  this .getBrowser () .displayEvents () .addInterest ("reshapeTool", this);
21
22
 
22
- this .keys = new ActionKeys (`X3DTransformNodeTool${this .getId ()}`, this .set_keys__ .bind (this));
23
+ this .keys = new ActionKeys (`X3DTransformNodeTool${this .getId ()}`, this .set_keys .bind (this));
23
24
 
24
25
  this .node .addInterest ("transformGroups", this);
25
26
 
@@ -47,7 +48,7 @@ class X3DTransformNodeTool extends X3DChildNodeTool
47
48
  super .disposeTool ();
48
49
  }
49
50
 
50
- set_keys__ (keys)
51
+ set_keys (keys)
51
52
  {
52
53
  if ((keys & ActionKeys .Option) && !this .tool .keys .includes ("OPTION"))
53
54
  return;