sunrize 1.8.14 → 1.8.15
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.8.
|
|
4
|
+
"version": "1.8.15",
|
|
5
5
|
"description": "A Multi-Platform X3D Editor",
|
|
6
6
|
"main": "src/main.js",
|
|
7
7
|
"bin": {
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"postgithub": "npm i -P electron",
|
|
26
26
|
"predocs": "rm -f -r docs/_site/",
|
|
27
27
|
"docs": "cd docs && bundle exec jekyll serve --ssl-key ssl/server.key --ssl-cert ssl/server.crt --incremental --host=`ipconfig getifaddr en0`",
|
|
28
|
+
"predocs-install": "cd docs && ln -s -f ../../ssl ./",
|
|
28
29
|
"docs-install": "cd docs && gem install bundler && bundle install",
|
|
29
30
|
"docs-update": "cd docs && bundle update",
|
|
30
31
|
"merge-development": "sh build/merge-development.sh",
|
|
@@ -90,7 +91,7 @@
|
|
|
90
91
|
"dependencies": {
|
|
91
92
|
"capitalize": "^2.0.4",
|
|
92
93
|
"console": "^0.7.2",
|
|
93
|
-
"electron": "^37.
|
|
94
|
+
"electron": "^37.2.0",
|
|
94
95
|
"electron-prompt": "^1.7.0",
|
|
95
96
|
"electron-squirrel-startup": "^1.0.1",
|
|
96
97
|
"electron-tabs": "^1.0.4",
|
|
@@ -109,7 +110,7 @@
|
|
|
109
110
|
"string-similarity": "^4.0.4",
|
|
110
111
|
"tweakpane": "^3.1.10",
|
|
111
112
|
"update-electron-app": "^3.1.1",
|
|
112
|
-
"x_ite": "^11.
|
|
113
|
+
"x_ite": "^11.6.0",
|
|
113
114
|
"x3d-traverse": "^1.0.13"
|
|
114
115
|
}
|
|
115
116
|
}
|
|
@@ -1059,7 +1059,7 @@ Viewpoint {
|
|
|
1059
1059
|
shapeNode = this .browser .getHit () .shapeNode,
|
|
1060
1060
|
geometryTool = shapeNode .getGeometry () ?.getTool (),
|
|
1061
1061
|
tool = geometryTool ?? shapeNode .getExecutionContext () .getOuterNode () ?.getTool (),
|
|
1062
|
-
node = tool ?? shapeNode;
|
|
1062
|
+
node = tool ?? shapeNode .getExecutionContext () .getOuterNode () ?? shapeNode;
|
|
1063
1063
|
|
|
1064
1064
|
outlineEditor .expandTo (node, { expandObject: true, expandAll: true });
|
|
1065
1065
|
|
|
@@ -38,7 +38,7 @@ module .exports = class OutlineRouteGraph extends OutlineView
|
|
|
38
38
|
for (const route of field .getInputRoutes ())
|
|
39
39
|
{
|
|
40
40
|
this .selectedRoutes .add (route);
|
|
41
|
-
this .expandTo (route .getSourceNode (), { expandObject: true });
|
|
41
|
+
this .expandTo (route .getSourceNode (), { expandExternProtoDeclarations: true, expandInlineNodes: true, expandPrototypeInstances: true, expandObject: true });
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
break;
|
|
@@ -48,7 +48,7 @@ module .exports = class OutlineRouteGraph extends OutlineView
|
|
|
48
48
|
for (const route of field .getOutputRoutes ())
|
|
49
49
|
{
|
|
50
50
|
this .selectedRoutes .add (route);
|
|
51
|
-
this .expandTo (route .getDestinationNode (), { expandObject: true });
|
|
51
|
+
this .expandTo (route .getDestinationNode (), { expandExternProtoDeclarations: true, expandInlineNodes: true, expandPrototypeInstances: true, expandObject: true });
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
break;
|
|
@@ -78,7 +78,7 @@ module .exports = class OutlineRouteGraph extends OutlineView
|
|
|
78
78
|
const route = this .getRoute (element, field .getInputRoutes ());
|
|
79
79
|
|
|
80
80
|
this .selectedRoutes .add (route);
|
|
81
|
-
this .expandTo (route .getSourceNode (), { expandObject: true });
|
|
81
|
+
this .expandTo (route .getSourceNode (), { expandExternProtoDeclarations: true, expandInlineNodes: true, expandPrototypeInstances: true, expandObject: true });
|
|
82
82
|
break;
|
|
83
83
|
}
|
|
84
84
|
case "output":
|
|
@@ -86,7 +86,7 @@ module .exports = class OutlineRouteGraph extends OutlineView
|
|
|
86
86
|
const route = this .getRoute (element, field .getOutputRoutes ());
|
|
87
87
|
|
|
88
88
|
this .selectedRoutes .add (route);
|
|
89
|
-
this .expandTo (route .getDestinationNode (), { expandObject: true });
|
|
89
|
+
this .expandTo (route .getDestinationNode (), { expandExternProtoDeclarations: true, expandInlineNodes: true, expandPrototypeInstances: true, expandObject: true });
|
|
90
90
|
break;
|
|
91
91
|
}
|
|
92
92
|
}
|
|
@@ -3855,22 +3855,22 @@ module .exports = class OutlineView extends Interface
|
|
|
3855
3855
|
|
|
3856
3856
|
onDragEnd (event) { }
|
|
3857
3857
|
|
|
3858
|
-
expandTo (object, { expandObject = false, expandAll = false } = { })
|
|
3858
|
+
expandTo (object, { expandExternProtoDeclarations = false, expandInlineNodes = false, expandPrototypeInstances = false, expandObject = false, expandAll = false } = { })
|
|
3859
3859
|
{
|
|
3860
3860
|
let flags = Traverse .NONE;
|
|
3861
3861
|
|
|
3862
|
-
if (this .expandExternProtoDeclarations)
|
|
3862
|
+
if (this .expandExternProtoDeclarations && expandExternProtoDeclarations)
|
|
3863
3863
|
flags |= Traverse .EXTERNPROTO_DECLARATIONS | Traverse .EXTERNPROTO_DECLARATION_SCENE;
|
|
3864
3864
|
|
|
3865
3865
|
flags |= Traverse .PROTO_DECLARATIONS;
|
|
3866
3866
|
flags |= Traverse .PROTO_DECLARATION_BODY;
|
|
3867
3867
|
|
|
3868
|
-
if (this .expandInlineNodes)
|
|
3868
|
+
if (this .expandInlineNodes && expandInlineNodes)
|
|
3869
3869
|
flags |= Traverse .INLINE_SCENE;
|
|
3870
3870
|
|
|
3871
3871
|
flags |= Traverse .ROOT_NODES;
|
|
3872
3872
|
|
|
3873
|
-
if (this .expandPrototypeInstances)
|
|
3873
|
+
if (this .expandPrototypeInstances && expandPrototypeInstances)
|
|
3874
3874
|
flags |= Traverse .PROTOTYPE_INSTANCES;
|
|
3875
3875
|
|
|
3876
3876
|
flags |= Traverse .IMPORTED_NODES;
|