sunrize 1.7.38 → 1.7.40
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.40",
|
|
5
5
|
"description": "A Multi-Platform X3D Editor",
|
|
6
6
|
"main": "src/main.js",
|
|
7
7
|
"bin": {
|
|
@@ -110,6 +110,6 @@
|
|
|
110
110
|
"tweakpane": "^3.1.10",
|
|
111
111
|
"update-electron-app": "^3.1.0",
|
|
112
112
|
"x_ite": "^11.0.2",
|
|
113
|
-
"x3d-traverse": "^1.0.
|
|
113
|
+
"x3d-traverse": "^1.0.8"
|
|
114
114
|
}
|
|
115
115
|
}
|
|
@@ -344,7 +344,7 @@ module .exports = class OutlineView extends Interface
|
|
|
344
344
|
element = $(e),
|
|
345
345
|
node = this .getNode (element);
|
|
346
346
|
|
|
347
|
-
if (node
|
|
347
|
+
if (node ?.getUserData (_expanded) && element .jstree ("is_closed", element))
|
|
348
348
|
{
|
|
349
349
|
element .jstree ("open_node", element);
|
|
350
350
|
}
|
|
@@ -358,7 +358,7 @@ module .exports = class OutlineView extends Interface
|
|
|
358
358
|
element = $(e),
|
|
359
359
|
node = this .getNode (element);
|
|
360
360
|
|
|
361
|
-
if (node
|
|
361
|
+
if (node ?.getUserData (_expanded) && element .jstree ("is_closed", element))
|
|
362
362
|
{
|
|
363
363
|
element .data ("auto-expand", true);
|
|
364
364
|
element .jstree ("open_node", element);
|
|
@@ -493,7 +493,7 @@ module .exports = class OutlineView extends Interface
|
|
|
493
493
|
const nodes = Array .from (scene .rootNodes);
|
|
494
494
|
|
|
495
495
|
this .browser .nextFrame ()
|
|
496
|
-
.then (() => nodes .forEach (
|
|
496
|
+
.then (() => nodes .forEach (node => node ?.setNodeUserData (_changing, false)));
|
|
497
497
|
|
|
498
498
|
return;
|
|
499
499
|
}
|
|
@@ -1963,7 +1963,7 @@ module .exports = class OutlineView extends Interface
|
|
|
1963
1963
|
const nodes = Array .from (field);
|
|
1964
1964
|
|
|
1965
1965
|
this .browser .nextFrame ()
|
|
1966
|
-
.then (() => nodes .forEach (
|
|
1966
|
+
.then (() => nodes .forEach (node => node ?.setNodeUserData (_changing, false)));
|
|
1967
1967
|
|
|
1968
1968
|
return;
|
|
1969
1969
|
}
|