x_ite 5.0.2 → 5.0.3
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/dist/assets/components/annotation.js +2 -2
- package/dist/assets/components/annotation.min.js +1 -1
- package/dist/assets/components/cad-geometry.js +2 -2
- package/dist/assets/components/cad-geometry.min.js +1 -1
- package/dist/assets/components/cube-map-texturing.js +2 -2
- package/dist/assets/components/cube-map-texturing.min.js +1 -1
- package/dist/assets/components/dis.js +2 -2
- package/dist/assets/components/dis.min.js +1 -1
- package/dist/assets/components/event-utilities.js +2 -2
- package/dist/assets/components/event-utilities.min.js +1 -1
- package/dist/assets/components/geometry2d.js +2 -2
- package/dist/assets/components/geometry2d.min.js +1 -1
- package/dist/assets/components/geospatial.js +2 -2
- package/dist/assets/components/geospatial.min.js +1 -1
- package/dist/assets/components/h-anim.js +2 -2
- package/dist/assets/components/h-anim.min.js +1 -1
- package/dist/assets/components/key-device-sensor.js +2 -2
- package/dist/assets/components/key-device-sensor.min.js +1 -1
- package/dist/assets/components/layout.js +2 -2
- package/dist/assets/components/layout.min.js +1 -1
- package/dist/assets/components/nurbs.js +277 -194
- package/dist/assets/components/nurbs.min.js +1 -1
- package/dist/assets/components/particle-systems.js +2 -2
- package/dist/assets/components/particle-systems.min.js +1 -1
- package/dist/assets/components/picking.js +2 -2
- package/dist/assets/components/picking.min.js +1 -1
- package/dist/assets/components/projective-texture-mapping.js +2 -2
- package/dist/assets/components/projective-texture-mapping.min.js +1 -1
- package/dist/assets/components/rigid-body-physics.js +2 -2
- package/dist/assets/components/rigid-body-physics.min.js +1 -1
- package/dist/assets/components/scripting.js +2 -2
- package/dist/assets/components/scripting.min.js +1 -1
- package/dist/assets/components/texturing-3d.js +2 -2
- package/dist/assets/components/texturing-3d.min.js +1 -1
- package/dist/assets/components/volume-rendering.js +2 -2
- package/dist/assets/components/volume-rendering.min.js +1 -1
- package/dist/assets/components/x_ite.js +2 -2
- package/dist/assets/components/x_ite.min.js +1 -1
- package/dist/example.html +2 -2
- package/dist/x_ite.css +3 -2
- package/dist/x_ite.js +28 -30
- package/dist/x_ite.min.js +4 -4
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +1 -1
- package/docs/index.md +2 -2
- package/package.json +2 -2
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite.css +1 -0
package/dist/x_ite.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v5.0.
|
|
1
|
+
/* X_ITE v5.0.3-1148 */
|
|
2
2
|
@charset "utf-8";
|
|
3
3
|
@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700,700italic);
|
|
4
4
|
X3DCanvas .x_ite-private-splash-screen {
|
|
@@ -303,7 +303,7 @@ X3DCanvas #context-menu-layer {
|
|
|
303
303
|
z-index: 0 !important;
|
|
304
304
|
}
|
|
305
305
|
.x_ite-private-menu.x_ite-private-menu-title:before {
|
|
306
|
-
content: "X_ITE Browser v5.0.
|
|
306
|
+
content: "X_ITE Browser v5.0.3";
|
|
307
307
|
display: block;
|
|
308
308
|
padding: 4px 32px 4px 8px;
|
|
309
309
|
font-weight: bold;
|
|
@@ -345,6 +345,7 @@ X3DCanvas #context-menu-layer {
|
|
|
345
345
|
font-size: 10pt;
|
|
346
346
|
line-height: 1;
|
|
347
347
|
letter-spacing: unset;
|
|
348
|
+
text-align: left;
|
|
348
349
|
}
|
|
349
350
|
.x_ite-private-menu .context-menu-item > label > input,
|
|
350
351
|
.x_ite-private-menu .context-menu-item > label > textarea {
|
package/dist/x_ite.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v5.0.
|
|
1
|
+
/* X_ITE v5.0.3-1148 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory)
|
|
4
4
|
{
|
|
@@ -25839,12 +25839,12 @@ function (X3DEventObject,
|
|
|
25839
25839
|
|
|
25840
25840
|
// Connect to execution context.
|
|
25841
25841
|
|
|
25842
|
-
if (this [_executionContext] !== this)
|
|
25843
|
-
this [_executionContext] .isLive () .addInterest (_set_live__, this);
|
|
25844
|
-
|
|
25845
25842
|
if (this .getOuterNode && this .getOuterNode ())
|
|
25846
25843
|
this .getOuterNode () .isLive () .addInterest (_set_live__, this);
|
|
25847
25844
|
|
|
25845
|
+
else if (this [_executionContext] !== this)
|
|
25846
|
+
this [_executionContext] .isLive () .addInterest (_set_live__, this);
|
|
25847
|
+
|
|
25848
25848
|
// Return field
|
|
25849
25849
|
|
|
25850
25850
|
return this .isLive ();
|
|
@@ -25869,16 +25869,13 @@ function (X3DEventObject,
|
|
|
25869
25869
|
{
|
|
25870
25870
|
/// Determines the live state of this node.
|
|
25871
25871
|
|
|
25872
|
-
let live = this .getLive ();
|
|
25873
|
-
let elive = true;
|
|
25874
|
-
|
|
25875
|
-
if (this !== this [_executionContext])
|
|
25876
|
-
elive = this [_executionContext] .isLive () .getValue ();
|
|
25877
|
-
|
|
25878
25872
|
if (this .getOuterNode && this .getOuterNode ())
|
|
25879
|
-
|
|
25873
|
+
return this .getLive () && this .getOuterNode () .isLive () .getValue ();
|
|
25874
|
+
|
|
25875
|
+
else if (this !== this [_executionContext])
|
|
25876
|
+
return this .getLive () && this [_executionContext] .isLive () .getValue ();
|
|
25880
25877
|
|
|
25881
|
-
return
|
|
25878
|
+
return this .getLive ();
|
|
25882
25879
|
},
|
|
25883
25880
|
[_set_live__]: function ()
|
|
25884
25881
|
{
|
|
@@ -26298,7 +26295,7 @@ function (X3DEventObject,
|
|
|
26298
26295
|
|
|
26299
26296
|
define ('x_ite/Browser/VERSION',[],function ()
|
|
26300
26297
|
{
|
|
26301
|
-
return "5.0.
|
|
26298
|
+
return "5.0.3";
|
|
26302
26299
|
});
|
|
26303
26300
|
|
|
26304
26301
|
/* -*- Mode: JavaScript; coding: utf-8; tab-width: 3; indent-tabs-mode: tab; c-basic-offset: 3 -*-
|
|
@@ -57891,20 +57888,6 @@ function (X3DChildNode,
|
|
|
57891
57888
|
{
|
|
57892
57889
|
"use strict";
|
|
57893
57890
|
|
|
57894
|
-
function getId (value) { return value ? value .getValue () .getId () : -1; }
|
|
57895
|
-
|
|
57896
|
-
function remove (array, first, last, range, rfirst, rlast)
|
|
57897
|
-
{
|
|
57898
|
-
const set = { };
|
|
57899
|
-
|
|
57900
|
-
for (let i = rfirst; i < rlast; ++ i)
|
|
57901
|
-
set [getId (range [i])] = true;
|
|
57902
|
-
|
|
57903
|
-
function compare (value) { return set [getId (value)]; }
|
|
57904
|
-
|
|
57905
|
-
return array .remove (first, last, compare);
|
|
57906
|
-
}
|
|
57907
|
-
|
|
57908
57891
|
function X3DGroupingNode (executionContext)
|
|
57909
57892
|
{
|
|
57910
57893
|
X3DChildNode .call (this, executionContext);
|
|
@@ -57996,7 +57979,7 @@ function (X3DChildNode,
|
|
|
57996
57979
|
this ._children .insert (this ._children .length, this ._addChildren, 0, this ._addChildren .length);
|
|
57997
57980
|
this .add (this ._addChildren);
|
|
57998
57981
|
|
|
57999
|
-
this ._addChildren .
|
|
57982
|
+
this ._addChildren .length = 0;
|
|
58000
57983
|
this ._addChildren .setTainted (false);
|
|
58001
57984
|
},
|
|
58002
57985
|
set_removeChildren__: function ()
|
|
@@ -58004,6 +57987,8 @@ function (X3DChildNode,
|
|
|
58004
57987
|
if (this ._removeChildren .length === 0)
|
|
58005
57988
|
return;
|
|
58006
57989
|
|
|
57990
|
+
this ._removeChildren .setTainted (true);
|
|
57991
|
+
|
|
58007
57992
|
if (this ._children .length > 0)
|
|
58008
57993
|
{
|
|
58009
57994
|
if (!this ._children .isTainted ())
|
|
@@ -58019,7 +58004,8 @@ function (X3DChildNode,
|
|
|
58019
58004
|
this .remove (this ._removeChildren);
|
|
58020
58005
|
}
|
|
58021
58006
|
|
|
58022
|
-
this ._removeChildren .
|
|
58007
|
+
this ._removeChildren .length = 0;
|
|
58008
|
+
this ._removeChildren .setTainted (false);
|
|
58023
58009
|
},
|
|
58024
58010
|
set_children__: function ()
|
|
58025
58011
|
{
|
|
@@ -58549,6 +58535,18 @@ function (X3DChildNode,
|
|
|
58549
58535
|
},
|
|
58550
58536
|
});
|
|
58551
58537
|
|
|
58538
|
+
function remove (array, first, last, range, rfirst, rlast)
|
|
58539
|
+
{
|
|
58540
|
+
const set = new Set ();
|
|
58541
|
+
|
|
58542
|
+
for (let i = rfirst; i < rlast; ++ i)
|
|
58543
|
+
set .add (range [i]);
|
|
58544
|
+
|
|
58545
|
+
function compare (value) { return set .has (value); }
|
|
58546
|
+
|
|
58547
|
+
return array .remove (first, last, compare);
|
|
58548
|
+
}
|
|
58549
|
+
|
|
58552
58550
|
return X3DGroupingNode;
|
|
58553
58551
|
});
|
|
58554
58552
|
|
|
@@ -122175,7 +122173,7 @@ const getScriptURL = (function ()
|
|
|
122175
122173
|
|
|
122176
122174
|
// Now assign our X3D.
|
|
122177
122175
|
window .X3D = X_ITE;
|
|
122178
|
-
window [Symbol .for ("X_ITE.X3D-5.0.
|
|
122176
|
+
window [Symbol .for ("X_ITE.X3D-5.0.3")] = X_ITE;
|
|
122179
122177
|
|
|
122180
122178
|
if (typeof __global_module__ === "object" && typeof __global_module__ .exports === "object")
|
|
122181
122179
|
__global_module__ .exports = X_ITE;
|