sunrize 1.7.62 → 1.7.63
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.7.
|
|
4
|
+
"version": "1.7.63",
|
|
5
5
|
"description": "A Multi-Platform X3D Editor",
|
|
6
6
|
"main": "src/main.js",
|
|
7
7
|
"bin": {
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"string-similarity": "^4.0.4",
|
|
110
110
|
"tweakpane": "^3.1.10",
|
|
111
111
|
"update-electron-app": "^3.1.1",
|
|
112
|
-
"x_ite": "^11.
|
|
112
|
+
"x_ite": "^11.5.0",
|
|
113
113
|
"x3d-traverse": "^1.0.11"
|
|
114
114
|
}
|
|
115
115
|
}
|
package/src/Editors/NodeList.js
CHANGED
|
@@ -9,7 +9,7 @@ const
|
|
|
9
9
|
|
|
10
10
|
module .exports = class NodeList extends Interface
|
|
11
11
|
{
|
|
12
|
-
constructor (element, filter = (
|
|
12
|
+
constructor (element, filter = () => true, callback = Function .prototype)
|
|
13
13
|
{
|
|
14
14
|
super ("Sunrize.NodeList.");
|
|
15
15
|
|
|
@@ -121,7 +121,7 @@ module .exports = class ScriptEditor extends Interface
|
|
|
121
121
|
.appendTo (this .horizontalSplitterTop)
|
|
122
122
|
.renameNodeInput (null, null);
|
|
123
123
|
|
|
124
|
-
this .nodeList = new NodeList (this .nodeListElement,
|
|
124
|
+
this .nodeList = new NodeList (this .nodeListElement, node => node .getTypeName () .match (/^(?:Script|ShaderPart)$/), node => this .setNode (node));
|
|
125
125
|
|
|
126
126
|
this .consoleElement = $("<div></div>")
|
|
127
127
|
.attr ("id", "script-editor-console")
|