x_ite 9.6.2 → 9.6.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.
Files changed (49) hide show
  1. package/README.md +6 -6
  2. package/dist/assets/components/Annotation.js +13 -13
  3. package/dist/assets/components/Annotation.min.js +1 -1
  4. package/dist/assets/components/CADGeometry.js +14 -14
  5. package/dist/assets/components/CADGeometry.min.js +1 -1
  6. package/dist/assets/components/CubeMapTexturing.js +27 -27
  7. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  8. package/dist/assets/components/DIS.js +13 -13
  9. package/dist/assets/components/DIS.min.js +1 -1
  10. package/dist/assets/components/EventUtilities.js +9 -9
  11. package/dist/assets/components/EventUtilities.min.js +1 -1
  12. package/dist/assets/components/Geometry2D.js +18 -18
  13. package/dist/assets/components/Geometry2D.min.js +1 -1
  14. package/dist/assets/components/Geospatial.js +33 -33
  15. package/dist/assets/components/Geospatial.min.js +1 -1
  16. package/dist/assets/components/HAnim.js +23 -23
  17. package/dist/assets/components/HAnim.min.js +1 -1
  18. package/dist/assets/components/KeyDeviceSensor.js +8 -8
  19. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  20. package/dist/assets/components/Layout.js +27 -27
  21. package/dist/assets/components/Layout.min.js +1 -1
  22. package/dist/assets/components/NURBS.js +23 -23
  23. package/dist/assets/components/NURBS.min.js +1 -1
  24. package/dist/assets/components/ParticleSystems.js +26 -26
  25. package/dist/assets/components/ParticleSystems.min.js +1 -1
  26. package/dist/assets/components/Picking.js +18 -18
  27. package/dist/assets/components/Picking.min.js +1 -1
  28. package/dist/assets/components/RigidBodyPhysics.js +17 -17
  29. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  30. package/dist/assets/components/Scripting.js +38 -38
  31. package/dist/assets/components/Scripting.min.js +1 -1
  32. package/dist/assets/components/Text.js +24 -24
  33. package/dist/assets/components/Text.min.js +1 -1
  34. package/dist/assets/components/TextureProjection.js +15 -15
  35. package/dist/assets/components/TextureProjection.min.js +1 -1
  36. package/dist/assets/components/Texturing3D.js +29 -29
  37. package/dist/assets/components/Texturing3D.min.js +1 -1
  38. package/dist/assets/components/VolumeRendering.js +19 -19
  39. package/dist/assets/components/VolumeRendering.min.js +1 -1
  40. package/dist/assets/components/X_ITE.js +14 -14
  41. package/dist/assets/components/X_ITE.min.js +1 -1
  42. package/dist/x_ite.css +1 -1
  43. package/dist/x_ite.d.ts +16 -7
  44. package/dist/x_ite.js +361 -195
  45. package/dist/x_ite.min.js +1 -1
  46. package/dist/x_ite.min.mjs +1 -1
  47. package/dist/x_ite.mjs +361 -195
  48. package/dist/x_ite.zip +0 -0
  49. package/package.json +1 -1
package/dist/x_ite.mjs CHANGED
@@ -1,9 +1,9 @@
1
- /* X_ITE v9.6.2 */var __webpack_modules__ = ({
1
+ /* X_ITE v9.6.3 */var __webpack_modules__ = ({
2
2
 
3
- /***/ 195:
3
+ /***/ 626:
4
4
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
5
5
 
6
- /* provided dependency */ var jQuery = __webpack_require__(631);
6
+ /* provided dependency */ var jQuery = __webpack_require__(418);
7
7
  /**
8
8
  * @preserve jquery.fullscreen 1.1.5
9
9
  * https://github.com/code-lts/jquery-fullscreen-plugin
@@ -199,7 +199,7 @@ installFullScreenHandlers();
199
199
 
200
200
  /***/ }),
201
201
 
202
- /***/ 711:
202
+ /***/ 408:
203
203
  /***/ ((module, exports, __webpack_require__) => {
204
204
 
205
205
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -213,7 +213,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
213
213
  (function (factory) {
214
214
  if ( true ) {
215
215
  // AMD. Register as an anonymous module.
216
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(631)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
216
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(418)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
217
217
  __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
218
218
  (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
219
219
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -424,7 +424,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
424
424
 
425
425
  /***/ }),
426
426
 
427
- /***/ 631:
427
+ /***/ 418:
428
428
  /***/ (function(module, exports) {
429
429
 
430
430
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -11148,7 +11148,7 @@ return jQuery;
11148
11148
 
11149
11149
  /***/ }),
11150
11150
 
11151
- /***/ 580:
11151
+ /***/ 803:
11152
11152
  /***/ ((module) => {
11153
11153
 
11154
11154
  /**
@@ -15927,7 +15927,7 @@ if (true) {
15927
15927
 
15928
15928
  /***/ }),
15929
15929
 
15930
- /***/ 511:
15930
+ /***/ 674:
15931
15931
  /***/ (function(__unused_webpack_module, exports) {
15932
15932
 
15933
15933
 
@@ -19172,7 +19172,7 @@ if (true) {
19172
19172
 
19173
19173
  /***/ }),
19174
19174
 
19175
- /***/ 936:
19175
+ /***/ 517:
19176
19176
  /***/ (function(module, exports) {
19177
19177
 
19178
19178
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -20299,7 +20299,7 @@ Object .defineProperty (Namespace, "add",
20299
20299
  }
20300
20300
  else
20301
20301
  {
20302
- const X3D = window [Symbol .for ("X_ITE.X3D-9.6.2")];
20302
+ const X3D = window [Symbol .for ("X_ITE.X3D-9.6.3")];
20303
20303
 
20304
20304
  if (X3D)
20305
20305
  X3D [name] = module;
@@ -34218,7 +34218,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
34218
34218
  x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
34219
34219
  /* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
34220
34220
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
34221
- /* provided dependency */ var $ = __webpack_require__(631);
34221
+ /* provided dependency */ var $ = __webpack_require__(418);
34222
34222
  /*******************************************************************************
34223
34223
  *
34224
34224
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -34355,7 +34355,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
34355
34355
  *
34356
34356
  ******************************************************************************/
34357
34357
 
34358
- const BROWSER_VERSION_default_ = "9.6.2";
34358
+ const BROWSER_VERSION_default_ = "9.6.3";
34359
34359
  ;
34360
34360
 
34361
34361
  x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
@@ -39001,7 +39001,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
39001
39001
  x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
39002
39002
  /* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
39003
39003
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
39004
- /* provided dependency */ var X3DParser_$ = __webpack_require__(631);
39004
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(418);
39005
39005
  /*******************************************************************************
39006
39006
  *
39007
39007
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39088,16 +39088,12 @@ Object .assign (X3DParser .prototype,
39088
39088
  {
39089
39089
  return this .getExecutionContext () .getOuterNode () instanceof Prototype_X3DProtoDeclaration;
39090
39090
  },
39091
+ /**
39092
+ * @deprecated Directly use `browser.loadComponents`.
39093
+ */
39091
39094
  loadComponents ()
39092
39095
  {
39093
- const
39094
- browser = this .getBrowser (),
39095
- scene = this .getScene ();
39096
-
39097
- return Promise .all ([
39098
- browser .loadComponents (scene .getProfile () || browser .getProfile ("Full")),
39099
- browser .loadComponents (scene .getComponents ()),
39100
- ]);
39096
+ return this .getBrowser () .loadComponents (this .getScene ());
39101
39097
  },
39102
39098
  setUnits (units)
39103
39099
  {
@@ -39263,7 +39259,7 @@ const Expressions_default_ = Expressions;
39263
39259
  x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
39264
39260
  /* harmony default export */ const Parser_Expressions = (Expressions_default_);
39265
39261
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
39266
- /* provided dependency */ var VRMLParser_$ = __webpack_require__(631);
39262
+ /* provided dependency */ var VRMLParser_$ = __webpack_require__(418);
39267
39263
  /*******************************************************************************
39268
39264
  *
39269
39265
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39627,7 +39623,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
39627
39623
 
39628
39624
  if (this .resolve)
39629
39625
  {
39630
- this .loadComponents () .then (() =>
39626
+ browser .loadComponents (scene) .then (() =>
39631
39627
  {
39632
39628
  try
39633
39629
  {
@@ -41963,7 +41959,7 @@ const VRMLParser_default_ = VRMLParser;
41963
41959
  x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
41964
41960
  /* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
41965
41961
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
41966
- /* provided dependency */ var XMLParser_$ = __webpack_require__(631);
41962
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(418);
41967
41963
  /*******************************************************************************
41968
41964
  *
41969
41965
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -42081,18 +42077,26 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42081
42077
  },
42082
42078
  parseIntoScene (resolve, reject)
42083
42079
  {
42080
+ const
42081
+ browser = this .getBrowser (),
42082
+ scene = this .getScene ();
42083
+
42084
42084
  this .resolve = resolve;
42085
42085
  this .reject = reject;
42086
42086
 
42087
- this .getScene () .setEncoding ("XML");
42088
- this .getScene () .setProfile (this .getBrowser () .getProfile ("Full"));
42087
+ scene .setEncoding ("XML");
42088
+ scene .setProfile (browser .getProfile ("Full"));
42089
42089
 
42090
42090
  this .xmlElement (this .input);
42091
42091
  },
42092
42092
  xmlElement (xmlElement)
42093
42093
  {
42094
+ const
42095
+ browser = this .getBrowser (),
42096
+ scene = this .getScene ();
42097
+
42094
42098
  if (xmlElement === null)
42095
- return this .resolve ?.(this .getScene ());
42099
+ return this .resolve ?.(scene);
42096
42100
 
42097
42101
  switch (xmlElement .nodeName)
42098
42102
  {
@@ -42109,10 +42113,10 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42109
42113
  {
42110
42114
  if (this .resolve)
42111
42115
  {
42112
- this .loadComponents () .then (() =>
42116
+ browser .loadComponents (scene) .then (() =>
42113
42117
  {
42114
42118
  this .childrenElements (xmlElement);
42115
- this .resolve (this .getScene ());
42119
+ this .resolve (scene);
42116
42120
  })
42117
42121
  .catch (this .reject);
42118
42122
  }
@@ -42134,10 +42138,10 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42134
42138
  {
42135
42139
  if (this .resolve)
42136
42140
  {
42137
- this .loadComponents () .then (() =>
42141
+ browser .loadComponents (scene) .then (() =>
42138
42142
  {
42139
42143
  this .sceneElement (xmlElement);
42140
- this .resolve (this .getScene ());
42144
+ this .resolve (scene);
42141
42145
  })
42142
42146
  .catch (this .reject);
42143
42147
  }
@@ -42152,10 +42156,10 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42152
42156
  {
42153
42157
  if (this .resolve)
42154
42158
  {
42155
- this .loadComponents () .then (() =>
42159
+ browser .loadComponents (scene) .then (() =>
42156
42160
  {
42157
42161
  this .childrenElements (xmlElement);
42158
- this .resolve (this .getScene ());
42162
+ this .resolve (scene);
42159
42163
  })
42160
42164
  .catch (this .reject);
42161
42165
  }
@@ -42170,17 +42174,21 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42170
42174
  },
42171
42175
  x3dElement (xmlElement)
42172
42176
  {
42177
+ const
42178
+ browser = this .getBrowser (),
42179
+ scene = this .getScene ();
42180
+
42173
42181
  try
42174
42182
  {
42175
42183
  // Profile
42176
42184
 
42177
42185
  const
42178
42186
  profileNameId = xmlElement .getAttribute ("profile"),
42179
- profile = this .getBrowser () .getProfile (profileNameId || "Full");
42187
+ profile = browser .getProfile (profileNameId || "Full");
42180
42188
 
42181
42189
  XMLParser_$.data (this .scene, "X3D", xmlElement);
42182
42190
 
42183
- this .getScene () .setProfile (profile);
42191
+ scene .setProfile (profile);
42184
42192
  }
42185
42193
  catch (error)
42186
42194
  {
@@ -42192,7 +42200,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42192
42200
  const specificationVersion = xmlElement .getAttribute ("version");
42193
42201
 
42194
42202
  if (specificationVersion)
42195
- this .getScene () .setSpecificationVersion (specificationVersion);
42203
+ scene .setSpecificationVersion (specificationVersion);
42196
42204
 
42197
42205
  // Process child nodes
42198
42206
 
@@ -42204,12 +42212,12 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42204
42212
 
42205
42213
  if (this .resolve)
42206
42214
  {
42207
- this .loadComponents () .then (() =>
42215
+ browser .loadComponents (scene) .then (() =>
42208
42216
  {
42209
42217
  for (const childNode of xmlElement .childNodes)
42210
42218
  this .x3dElementChildScene (childNode)
42211
42219
 
42212
- this .resolve (this .getScene ());
42220
+ this .resolve (scene);
42213
42221
  })
42214
42222
  .catch (this .reject);
42215
42223
  }
@@ -43995,7 +44003,7 @@ const URLs_default_ = URLs;
43995
44003
  x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
43996
44004
  /* harmony default export */ const Networking_URLs = (URLs_default_);
43997
44005
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
43998
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(631);
44006
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(418);
43999
44007
  /*******************************************************************************
44000
44008
  *
44001
44009
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -44189,7 +44197,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
44189
44197
  this .extensionsArray (glTF .extensionsRequired, this .extensions);
44190
44198
  this .extensionsObject (glTF .extensions);
44191
44199
 
44192
- await this .loadComponents ();
44200
+ await browser .loadComponents (scene);
44193
44201
  await this .buffersArray (glTF .buffers);
44194
44202
 
44195
44203
  if (this .extensions .has ("KHR_draco_mesh_compression"))
@@ -47297,7 +47305,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
47297
47305
  x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
47298
47306
  /* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
47299
47307
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
47300
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(631);
47308
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(418);
47301
47309
  /*******************************************************************************
47302
47310
  *
47303
47311
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -47449,7 +47457,7 @@ const GLB2Parser_default_ = GLB2Parser;
47449
47457
  x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
47450
47458
  /* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
47451
47459
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
47452
- /* provided dependency */ var OBJParser_$ = __webpack_require__(631);
47460
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(418);
47453
47461
  /*******************************************************************************
47454
47462
  *
47455
47463
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -47615,7 +47623,7 @@ Object .assign (Object .setPrototypeOf (OBJParser .prototype, Parser_X3DParser .
47615
47623
  scene .setEncoding ("OBJ");
47616
47624
  scene .setProfile (browser .getProfile ("Interchange"));
47617
47625
 
47618
- await this .loadComponents ();
47626
+ await browser .loadComponents (scene);
47619
47627
 
47620
47628
  // Init nodes.
47621
47629
 
@@ -48682,7 +48690,7 @@ Object .assign (Object .setPrototypeOf (STLAParser .prototype, Parser_X3DParser
48682
48690
  scene .setEncoding ("STL");
48683
48691
  scene .setProfile (browser .getProfile ("Interchange"));
48684
48692
 
48685
- await this .loadComponents ();
48693
+ await browser .loadComponents (scene);
48686
48694
 
48687
48695
  // Create nodes.
48688
48696
 
@@ -49032,7 +49040,7 @@ Object .assign (Object .setPrototypeOf (STLBParser .prototype, Parser_X3DParser
49032
49040
  scene .setEncoding ("STL");
49033
49041
  scene .setProfile (browser .getProfile ("Interchange"));
49034
49042
 
49035
- await this .loadComponents ();
49043
+ await browser .loadComponents (scene);
49036
49044
 
49037
49045
  // Create nodes.
49038
49046
 
@@ -49228,7 +49236,7 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
49228
49236
  scene .setEncoding ("PLY");
49229
49237
  scene .setProfile (browser .getProfile ("Interchange"));
49230
49238
 
49231
- await this .loadComponents ();
49239
+ await browser .loadComponents (scene);
49232
49240
  await this .processElements (this .header ([ ]))
49233
49241
 
49234
49242
  // Create nodes.
@@ -49503,6 +49511,7 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
49503
49511
  async parseVertices ({ count, properties })
49504
49512
  {
49505
49513
  const
49514
+ browser = this .getBrowser (),
49506
49515
  scene = this .getScene (),
49507
49516
  colors = [ ],
49508
49517
  texCoord = scene .createNode ("TextureCoordinate"),
@@ -49563,7 +49572,7 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
49563
49572
  {
49564
49573
  scene .addComponent (this .getBrowser () .getComponent ("Shaders", 1));
49565
49574
 
49566
- await this .loadComponents ();
49575
+ await browser .loadComponents (scene);
49567
49576
 
49568
49577
  for (const [name, value] of attributes)
49569
49578
  {
@@ -50807,8 +50816,8 @@ const MatrixStack_default_ = MatrixStack;
50807
50816
  x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
50808
50817
  /* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
50809
50818
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
50810
- /* provided dependency */ var SVGParser_$ = __webpack_require__(631);
50811
- /* provided dependency */ var libtess = __webpack_require__(580);
50819
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(418);
50820
+ /* provided dependency */ var libtess = __webpack_require__(803);
50812
50821
  /*******************************************************************************
50813
50822
  *
50814
50823
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -51080,7 +51089,7 @@ Object .assign (Object .setPrototypeOf (SVGParser .prototype, Parser_X3DParser .
51080
51089
  scene .setProfile (browser .getProfile ("Interchange"));
51081
51090
  scene .addComponent (browser .getComponent ("Geometry2D", 2));
51082
51091
 
51083
- await this .loadComponents ();
51092
+ await browser .loadComponents (scene);
51084
51093
 
51085
51094
  // Init nodes.
51086
51095
 
@@ -53576,7 +53585,7 @@ const SVGParser_default_ = SVGParser;
53576
53585
  x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
53577
53586
  /* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
53578
53587
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
53579
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(631);
53588
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(418);
53580
53589
  /*******************************************************************************
53581
53590
  *
53582
53591
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -53943,7 +53952,7 @@ const Plane3_default_ = Plane3;
53943
53952
  x_ite_Namespace .add ("Plane3", "standard/Math/Geometry/Plane3", Plane3_default_);
53944
53953
  /* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
53945
53954
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
53946
- /* provided dependency */ var Triangle3_libtess = __webpack_require__(580);
53955
+ /* provided dependency */ var Triangle3_libtess = __webpack_require__(803);
53947
53956
  /*******************************************************************************
53948
53957
  *
53949
53958
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -62472,7 +62481,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
62472
62481
  x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
62473
62482
  /* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
62474
62483
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
62475
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(631);
62484
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(418);
62476
62485
  /*******************************************************************************
62477
62486
  *
62478
62487
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -62621,7 +62630,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
62621
62630
  if (DEVELOPMENT)
62622
62631
  {
62623
62632
  if (this .URL .protocol !== "data:")
62624
- console .info (`Done loading image texture '${decodeURI (this .URL .href)}'`);
62633
+ console .info (`Done loading image texture '${decodeURI (this .URL .href)}'.`);
62625
62634
  }
62626
62635
 
62627
62636
  try
@@ -62645,7 +62654,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
62645
62654
  if (DEVELOPMENT)
62646
62655
  {
62647
62656
  if (this .URL .protocol !== "data:")
62648
- console .info (`Done loading image texture '${decodeURI (this .URL .href)}'`);
62657
+ console .info (`Done loading image texture '${decodeURI (this .URL .href)}'.`);
62649
62658
  }
62650
62659
 
62651
62660
  try
@@ -66054,7 +66063,7 @@ const X3DWorld_default_ = X3DWorld;
66054
66063
  x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
66055
66064
  /* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
66056
66065
  ;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
66057
- /* provided dependency */ var FileLoader_$ = __webpack_require__(631);
66066
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(418);
66058
66067
  /*******************************************************************************
66059
66068
  *
66060
66069
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -66221,7 +66230,7 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
66221
66230
  if (DEVELOPMENT)
66222
66231
  {
66223
66232
  if (this .URL .protocol !== "data:")
66224
- console .info (`Done loading scene '${decodeURI (this .URL .href)}'`);
66233
+ console .info (`Done loading scene '${decodeURI (this .URL .href)}'.`);
66225
66234
  }
66226
66235
  },
66227
66236
  createX3DFromURL (url, parameter, callback, bindViewpoint, foreign)
@@ -66988,7 +66997,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
66988
66997
  x_ite_Namespace .add ("ProtoDeclarationArray", "x_ite/Prototype/ProtoDeclarationArray", ProtoDeclarationArray_default_);
66989
66998
  /* harmony default export */ const Prototype_ProtoDeclarationArray = (ProtoDeclarationArray_default_);
66990
66999
  ;// CONCATENATED MODULE: ./src/x_ite/Routing/X3DRoute.js
66991
- /* provided dependency */ var X3DRoute_$ = __webpack_require__(631);
67000
+ /* provided dependency */ var X3DRoute_$ = __webpack_require__(418);
66992
67001
  /*******************************************************************************
66993
67002
  *
66994
67003
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -90139,7 +90148,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
90139
90148
  x_ite_Namespace .add ("X3DShaderNode", "x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
90140
90149
  /* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
90141
90150
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
90142
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(631);
90151
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(418);
90143
90152
  /*******************************************************************************
90144
90153
  *
90145
90154
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -93666,13 +93675,11 @@ varying float depth;
93666
93675
  #endif
93667
93676
  #pragma X3D include "PointSize.glsl"
93668
93677
  void vertex_main(){vec4 position=x3d_ModelViewMatrix*x3d_Vertex;vertex=position.xyz;
93669
- #if defined(X3D_GEOMETRY_0D)
93670
- #if defined(X3D_STYLE_PROPERTIES)
93678
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
93671
93679
  gl_PointSize=pointSize=getPointSize(vertex);
93672
93680
  #else
93673
93681
  gl_PointSize=1.0;
93674
93682
  #endif
93675
- #endif
93676
93683
  #if defined(X3D_FOG)&&defined(X3D_FOG_COORDS)
93677
93684
  fogDepth=x3d_FogDepth;
93678
93685
  #endif
@@ -94240,13 +94247,11 @@ vec4 x3d_TransformedVertex=getInstanceVertex(getSkinVertex(x3d_Vertex,x3d_Normal
94240
94247
  vec4 x3d_TransformedVertex=getInstanceVertex(getSkinVertex(x3d_Vertex,vec3(0.0)));
94241
94248
  #endif
94242
94249
  vec4 position=x3d_ModelViewMatrix*x3d_TransformedVertex;vertex=position.xyz;
94243
- #if defined(X3D_GEOMETRY_0D)
94244
- #if defined(X3D_STYLE_PROPERTIES)
94250
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
94245
94251
  gl_PointSize=pointSize=getPointSize(vertex);
94246
94252
  #else
94247
94253
  gl_PointSize=1.0;
94248
94254
  #endif
94249
- #endif
94250
94255
  #if defined(X3D_GEOMETRY_1D)&&defined(X3D_STYLE_PROPERTIES)
94251
94256
  lengthSoFar=x3d_LineStipple.z;startPoint=x3d_LineStipple.xy;midPoint=x3d_LineStipple.xy;
94252
94257
  #endif
@@ -94319,12 +94324,10 @@ x_ite_Namespace .add ("Depth1.fs", "assets/shaders/webgl1/Depth1.fs", Depth1_fs_
94319
94324
  const Depth1_vs_default_ = /* glsl */ `precision highp float;precision highp int;uniform mat4 x3d_ProjectionMatrix;uniform mat4 x3d_ModelViewMatrix;attribute vec4 x3d_Vertex;varying vec3 vertex;
94320
94325
  #pragma X3D include "common/PointSize.glsl"
94321
94326
  void main(){vec4 position=x3d_ModelViewMatrix*x3d_Vertex;vertex=position.xyz;
94322
- #if defined(X3D_GEOMETRY_0D)
94323
- #if defined(X3D_STYLE_PROPERTIES)
94324
- gl_PointSize=max(pointSize=getPointSize(vertex),2.0);
94327
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
94328
+ gl_PointSize=pointSize=getPointSize(vertex);
94325
94329
  #else
94326
- gl_PointSize=2.0;
94327
- #endif
94330
+ gl_PointSize=1.0;
94328
94331
  #endif
94329
94332
  gl_Position=x3d_ProjectionMatrix*position;}`
94330
94333
  ;
@@ -94633,13 +94636,11 @@ varying vec4 texCoord0;
94633
94636
  #endif
94634
94637
  #pragma X3D include "common/PointSize.glsl"
94635
94638
  void main(){
94636
- #if defined(X3D_GEOMETRY_0D)
94637
- #if defined(X3D_STYLE_PROPERTIES)
94638
- gl_PointSize=max(pointSize=getPointSize(vertex),2.0);
94639
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
94640
+ gl_PointSize=pointSize=max(getPointSize(vertex),2.0);
94639
94641
  #else
94640
94642
  gl_PointSize=2.0;
94641
94643
  #endif
94642
- #endif
94643
94644
  vec4 position=x3d_ModelViewMatrix*x3d_Vertex;vertex=position.xyz;normal=x3d_Normal;
94644
94645
  #if!defined(X3D_GEOMETRY_0D)&&!defined(X3D_GEOMETRY_1D)
94645
94646
  texCoord0=x3d_TexCoord0;
@@ -94732,12 +94733,10 @@ precision highp float;precision highp int;precision highp sampler2D;uniform mat4
94732
94733
  #pragma X3D include "common/Instancing.glsl"
94733
94734
  #pragma X3D include "common/PointSize.glsl"
94734
94735
  void main(){vec4 x3d_TransformedVertex=getInstanceVertex(getSkinVertex(x3d_Vertex,vec3(0.0)));vec4 position=x3d_ModelViewMatrix*x3d_TransformedVertex;vertex=position.xyz;
94735
- #if defined(X3D_GEOMETRY_0D)
94736
- #if defined(X3D_STYLE_PROPERTIES)
94737
- gl_PointSize=max(pointSize=getPointSize(vertex),2.0);
94736
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
94737
+ gl_PointSize=pointSize=getPointSize(vertex);
94738
94738
  #else
94739
- gl_PointSize=2.0;
94740
- #endif
94739
+ gl_PointSize=1.0;
94741
94740
  #endif
94742
94741
  gl_Position=x3d_ProjectionMatrix*position;}`
94743
94742
  ;
@@ -95110,13 +95109,11 @@ void main(){
95110
95109
  lengthSoFar=x3d_LineStipple.z;startPoint=x3d_LineStipple.xy;midPoint=x3d_LineStipple.xy;
95111
95110
  #endif
95112
95111
  vec4 x3d_TransformedVertex=getInstanceVertex(getSkinVertex(x3d_Vertex,x3d_Normal));vec4 position=x3d_ModelViewMatrix*x3d_TransformedVertex;vertex=position.xyz;normal=getInstanceNormal(getSkinNormal(x3d_Normal));
95113
- #if defined(X3D_GEOMETRY_0D)
95114
- #if defined(X3D_STYLE_PROPERTIES)
95115
- gl_PointSize=max(pointSize=getPointSize(vertex),2.0);
95112
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
95113
+ gl_PointSize=pointSize=max(getPointSize(vertex),2.0);
95116
95114
  #else
95117
95115
  gl_PointSize=2.0;
95118
95116
  #endif
95119
- #endif
95120
95117
  #if!defined(X3D_GEOMETRY_0D)&&!defined(X3D_GEOMETRY_1D)
95121
95118
  texCoord0=x3d_TexCoord0;
95122
95119
  #endif
@@ -95847,7 +95844,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
95847
95844
  x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
95848
95845
  /* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
95849
95846
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
95850
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(631);
95847
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(418);
95851
95848
  /*******************************************************************************
95852
95849
  *
95853
95850
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -96504,7 +96501,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
96504
96501
  x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
96505
96502
  /* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
96506
96503
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
96507
- /* provided dependency */ var Appearance_$ = __webpack_require__(631);
96504
+ /* provided dependency */ var Appearance_$ = __webpack_require__(418);
96508
96505
  /*******************************************************************************
96509
96506
  *
96510
96507
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -100988,7 +100985,7 @@ Object .assign (Object .setPrototypeOf (AudioClip .prototype, Sound_X3DSoundSour
100988
100985
  if (DEVELOPMENT)
100989
100986
  {
100990
100987
  if (URL .protocol !== "data:")
100991
- console .info (`Done loading audio '${decodeURI (URL .href)}'`);
100988
+ console .info (`Done loading audio '${decodeURI (URL .href)}'.`);
100992
100989
  }
100993
100990
  }
100994
100991
  });
@@ -101800,7 +101797,7 @@ Object .assign (Object .setPrototypeOf (BufferAudioSource .prototype, Sound_X3DS
101800
101797
  if (DEVELOPMENT)
101801
101798
  {
101802
101799
  if (URL .protocol !== "data:")
101803
- console .info (`Done loading audio '${decodeURI (URL .href)}'`);
101800
+ console .info (`Done loading audio '${decodeURI (URL .href)}'.`);
101804
101801
  }
101805
101802
  }
101806
101803
  });
@@ -105456,8 +105453,8 @@ const GifMedia_default_ = GifMedia;
105456
105453
  x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
105457
105454
  /* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
105458
105455
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
105459
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(631);
105460
- /* provided dependency */ var SuperGif = __webpack_require__(936);
105456
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(418);
105457
+ /* provided dependency */ var SuperGif = __webpack_require__(517);
105461
105458
  /*******************************************************************************
105462
105459
  *
105463
105460
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -105637,7 +105634,7 @@ Object .assign (Object .setPrototypeOf (MovieTexture .prototype, Texturing_X3DTe
105637
105634
  if (DEVELOPMENT)
105638
105635
  {
105639
105636
  if (this .URL .protocol !== "data:")
105640
- console .info (`Done loading movie '${decodeURI (this .URL .href)}'`);
105637
+ console .info (`Done loading movie '${decodeURI (this .URL .href)}'.`);
105641
105638
  }
105642
105639
 
105643
105640
  this .video .off ("loadeddata");
@@ -108865,7 +108862,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
108865
108862
  x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
108866
108863
  /* harmony default export */ const gettext = (gettext_default_);
108867
108864
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
108868
- /* provided dependency */ var BrowserTimings_$ = __webpack_require__(631);
108865
+ /* provided dependency */ var BrowserTimings_$ = __webpack_require__(418);
108869
108866
  /*******************************************************************************
108870
108867
  *
108871
108868
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109438,7 +109435,7 @@ const TextureQuality_default_ = TextureQuality;
109438
109435
  x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
109439
109436
  /* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
109440
109437
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
109441
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(631);
109438
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(418);
109442
109439
  /*******************************************************************************
109443
109440
  *
109444
109441
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109555,6 +109552,7 @@ Object .assign (Object .setPrototypeOf (BrowserOptions .prototype, Base_X3DBaseN
109555
109552
  "ContentScale",
109556
109553
  "ContextMenu",
109557
109554
  "Debug",
109555
+ "LogarithmicDepthBuffer",
109558
109556
  "Multisampling",
109559
109557
  "Notifications",
109560
109558
  "OrderIndependentTransparency",
@@ -110032,7 +110030,7 @@ const RenderingProperties_default_ = RenderingProperties;
110032
110030
  x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
110033
110031
  /* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
110034
110032
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
110035
- /* provided dependency */ var Notification_$ = __webpack_require__(631);
110033
+ /* provided dependency */ var Notification_$ = __webpack_require__(418);
110036
110034
  /*******************************************************************************
110037
110035
  *
110038
110036
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -110155,8 +110153,8 @@ const Notification_default_ = Notification;
110155
110153
  x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
110156
110154
  /* harmony default export */ const Core_Notification = (Notification_default_);
110157
110155
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
110158
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(195);
110159
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(631);
110156
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(626);
110157
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(418);
110160
110158
  /*******************************************************************************
110161
110159
  *
110162
110160
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -110247,12 +110245,12 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
110247
110245
 
110248
110246
  if (typeof this [_userMenu] === "function")
110249
110247
  {
110250
- const menu = this [_userMenu] ();
110248
+ const menu = this [_userMenu] (this .getBrowser ());
110251
110249
 
110252
110250
  if (ContextMenu_$.isPlainObject (menu))
110253
110251
  {
110254
110252
  for (const key in menu)
110255
- userMenu ["user-" + key] = menu [key];
110253
+ userMenu [`user-${key}`] = menu [key];
110256
110254
  }
110257
110255
  }
110258
110256
 
@@ -110483,6 +110481,11 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
110483
110481
  },
110484
110482
  },
110485
110483
  "separator2": "--------",
110484
+
110485
+ // Insert custom user menu items.
110486
+ ... this .createUserMenu (),
110487
+
110488
+ "separator3": "--------",
110486
110489
  "browser-timings": {
110487
110490
  name: gettext("Browser Timings"),
110488
110491
  type: "checkbox",
@@ -110505,53 +110508,47 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
110505
110508
  browser .getElement () .toggleFullScreen ();
110506
110509
  },
110507
110510
  },
110508
- "separator3": "--------",
110509
- },
110510
- };
110511
-
110512
- Object .assign (menu .items, this .createUserMenu ());
110513
-
110514
- Object .assign (menu .items, {
110515
- "separator4": "--------",
110516
- "world-info": {
110517
- name: gettext("Show World Info"),
110518
- className: "context-menu-icon x_ite-private-icon-world-info",
110519
- callback ()
110520
- {
110521
- browser .getShadow () .find (".x_ite-private-world-info") .remove ();
110511
+ "separator4": "--------",
110512
+ "world-info": {
110513
+ name: gettext("Show World Info"),
110514
+ className: "context-menu-icon x_ite-private-icon-world-info",
110515
+ callback ()
110516
+ {
110517
+ browser .getShadow () .find (".x_ite-private-world-info") .remove ();
110522
110518
 
110523
- const
110524
- priv = browser .getShadow () .find (".x_ite-private-browser"),
110525
- overlay = ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-overlay") .appendTo (priv),
110526
- div = ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info") .appendTo (overlay),
110527
- worldInfo = browser .getExecutionContext () .getWorldInfos () [0],
110528
- title = worldInfo .title,
110529
- info = worldInfo .info;
110519
+ const
110520
+ priv = browser .getShadow () .find (".x_ite-private-browser"),
110521
+ overlay = ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-overlay") .appendTo (priv),
110522
+ div = ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info") .appendTo (overlay),
110523
+ worldInfo = browser .getExecutionContext () .getWorldInfos () [0],
110524
+ title = worldInfo .title,
110525
+ info = worldInfo .info;
110530
110526
 
110531
- ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-top") .text ("World Info") .appendTo (div);
110527
+ ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-top") .text ("World Info") .appendTo (div);
110532
110528
 
110533
- if (title .length)
110534
- {
110535
- ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-title") .text (title) .appendTo (div);
110536
- }
110529
+ if (title .length)
110530
+ {
110531
+ ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-title") .text (title) .appendTo (div);
110532
+ }
110537
110533
 
110538
- for (const line of info)
110539
- {
110540
- ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-info") .text (line) .appendTo (div);
110541
- }
110534
+ for (const line of info)
110535
+ {
110536
+ ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-info") .text (line) .appendTo (div);
110537
+ }
110542
110538
 
110543
- overlay .on ("click", function () { overlay .remove (); });
110539
+ overlay .on ("click", function () { overlay .remove (); });
110540
+ },
110544
110541
  },
110545
- },
110546
- "about": {
110547
- name: gettext("About X_ITE"),
110548
- className: "context-menu-icon x_ite-private-icon-help-about",
110549
- callback ()
110550
- {
110551
- window .open (browser .getProviderURL ());
110542
+ "about": {
110543
+ name: gettext("About X_ITE"),
110544
+ className: "context-menu-icon x_ite-private-icon-help-about",
110545
+ callback ()
110546
+ {
110547
+ window .open (browser .getProviderURL ());
110548
+ },
110552
110549
  },
110553
110550
  },
110554
- });
110551
+ };
110555
110552
 
110556
110553
  if (ContextMenu_$.isEmptyObject (menu .items .viewpoints .items))
110557
110554
  delete menu .items ["viewpoints"];
@@ -112910,7 +112907,7 @@ const DataStorage_default_ = DataStorage;
112910
112907
  x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
112911
112908
  /* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
112912
112909
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
112913
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(631);
112910
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(418);
112914
112911
  /*******************************************************************************
112915
112912
  *
112916
112913
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -112973,6 +112970,7 @@ x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage
112973
112970
 
112974
112971
 
112975
112972
 
112973
+
112976
112974
  const WEBGL_VERSION = 2;
112977
112975
 
112978
112976
  const
@@ -113234,6 +113232,12 @@ Object .assign (X3DCoreContext .prototype,
113234
113232
  this .setBrowserOption ("Debug", this .parseBooleanAttribute (newValue, false));
113235
113233
  break;
113236
113234
  }
113235
+ case "logarithmicDepthBuffer":
113236
+ case "logarithmicdepthbuffer":
113237
+ {
113238
+ this .setBrowserOption ("LogarithmicDepthBuffer", this .parseBooleanAttribute (newValue, false));
113239
+ break;
113240
+ }
113237
113241
  case "multisampling":
113238
113242
  {
113239
113243
  const samples = parseInt (newValue);
@@ -113340,7 +113344,7 @@ Object .assign (X3DCoreContext .prototype,
113340
113344
  {
113341
113345
  const url = new x_ite_Fields .MFString ();
113342
113346
 
113343
- url .fromString ("[" + urlCharacters + "]", this .getExecutionContext ());
113347
+ url .fromString (`[${urlCharacters}]`, this .getExecutionContext ());
113344
113348
 
113345
113349
  return url;
113346
113350
  }
@@ -113556,12 +113560,16 @@ Object .assign (X3DCoreContext .prototype,
113556
113560
  {
113557
113561
  event .preventDefault ();
113558
113562
 
113563
+ // Create viewpoint node.
113564
+
113559
113565
  const viewpoint = this .getActiveViewpoint ();
113560
113566
 
113561
113567
  if (!viewpoint)
113562
113568
  break;
113563
113569
 
113564
- const vp = this .getExecutionContext () .createNode (viewpoint .getTypeName ());
113570
+ const
113571
+ executionContext = this .getExecutionContext (),
113572
+ vp = executionContext .createNode (viewpoint .getTypeName ());
113565
113573
 
113566
113574
  switch (viewpoint .getTypeName ())
113567
113575
  {
@@ -113589,7 +113597,7 @@ Object .assign (X3DCoreContext .prototype,
113589
113597
 
113590
113598
  if (geoOrigin .getValue () && geoOrigin .getNodeTypeName () === "GeoOrigin")
113591
113599
  {
113592
- const go = this .getPrivateScene () .createNode ("GeoOrigin");
113600
+ const go = executionContext .createNode ("GeoOrigin");
113593
113601
 
113594
113602
  vp .geoOrigin = go;
113595
113603
  go .geoSystem = geoOrigin .geoSystem;
@@ -113606,11 +113614,13 @@ Object .assign (X3DCoreContext .prototype,
113606
113614
  }
113607
113615
  }
113608
113616
 
113609
- const options = { scene: this .getExecutionContext () };
113617
+ // Create text.
113618
+
113619
+ const options = x_ite_Features .ENVIRONMENT === "NODE" ? { } : { scene: executionContext };
113610
113620
 
113611
113621
  let text;
113612
113622
 
113613
- switch (this .getExecutionContext () .getEncoding ())
113623
+ switch (executionContext .getEncoding ())
113614
113624
  {
113615
113625
  case "ASCII":
113616
113626
  case "VRML": text = vp .toVRMLString (options); break;
@@ -113620,11 +113630,15 @@ Object .assign (X3DCoreContext .prototype,
113620
113630
 
113621
113631
  text += "\n";
113622
113632
 
113623
- this .copyToClipboard (text);
113624
- this .getNotification () ._string = gettext ("Viewpoint copied to clipboard.");
113633
+ // Copy to clipboard.
113625
113634
 
113626
- console .log ("Viewpoint copied to clipboard.");
113627
- console .debug (text);
113635
+ this .copyToClipboard (text) .then (() =>
113636
+ {
113637
+ this .getNotification () ._string = gettext ("Viewpoint copied to clipboard.");
113638
+
113639
+ console .log ("Viewpoint copied to clipboard.");
113640
+ console .debug (text);
113641
+ });
113628
113642
  }
113629
113643
 
113630
113644
  break;
@@ -113664,14 +113678,21 @@ Object .assign (X3DCoreContext .prototype,
113664
113678
  }
113665
113679
  }
113666
113680
  },
113667
- copyToClipboard (text)
113681
+ async copyToClipboard (text)
113668
113682
  {
113669
- // The textarea must be visible to make copy work.
113670
- const tmp = X3DCoreContext_$("<textarea></textarea>");
113671
- this .getShadow () .find (".x_ite-private-browser") .prepend (tmp);
113672
- tmp .text (text) .trigger ("select");
113673
- document .execCommand ("copy");
113674
- tmp .remove ();
113683
+ try
113684
+ {
113685
+ await navigator .clipboard .writeText (text);
113686
+ }
113687
+ catch
113688
+ {
113689
+ // The textarea must be visible to make copy work.
113690
+ const tmp = X3DCoreContext_$("<textarea></textarea>");
113691
+ this .getShadow () .find (".x_ite-private-browser") .prepend (tmp);
113692
+ tmp .text (text) .trigger ("select");
113693
+ document .execCommand ("copy");
113694
+ tmp .remove ();
113695
+ }
113675
113696
  },
113676
113697
  dispose ()
113677
113698
  {
@@ -115433,8 +115454,8 @@ const X3DViewer_default_ = X3DViewer;
115433
115454
  x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
115434
115455
  /* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
115435
115456
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
115436
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(711);
115437
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(631);
115457
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(408);
115458
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(418);
115438
115459
  /*******************************************************************************
115439
115460
  *
115440
115461
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116306,8 +116327,8 @@ const ExamineViewer_default_ = ExamineViewer;
116306
116327
  x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
116307
116328
  /* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
116308
116329
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
116309
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(711);
116310
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(631);
116330
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(408);
116331
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(418);
116311
116332
  /*******************************************************************************
116312
116333
  *
116313
116334
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117316,8 +117337,8 @@ const FlyViewer_default_ = FlyViewer;
117316
117337
  x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
117317
117338
  /* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
117318
117339
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
117319
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(711);
117320
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(631);
117340
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(408);
117341
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(418);
117321
117342
  /*******************************************************************************
117322
117343
  *
117323
117344
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117648,8 +117669,8 @@ const NoneViewer_default_ = NoneViewer;
117648
117669
  x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
117649
117670
  /* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
117650
117671
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
117651
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(711);
117652
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(631);
117672
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(408);
117673
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(418);
117653
117674
  /*******************************************************************************
117654
117675
  *
117655
117676
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -118787,8 +118808,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
118787
118808
  x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
118788
118809
  /* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
118789
118810
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
118790
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(711);
118791
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(631);
118811
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(408);
118812
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(418);
118792
118813
  /*******************************************************************************
118793
118814
  *
118794
118815
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120092,7 +120113,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
120092
120113
  x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
120093
120114
  /* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
120094
120115
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
120095
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(631);
120116
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(418);
120096
120117
  /*******************************************************************************
120097
120118
  *
120098
120119
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120514,6 +120535,7 @@ x_ite_Namespace .add ("X3DScriptingContext", "x_ite/Browser/Scripting/X3DScripti
120514
120535
 
120515
120536
 
120516
120537
 
120538
+
120517
120539
  const
120518
120540
  _wireframe = Symbol (),
120519
120541
  _primitiveModes = Symbol (),
@@ -120615,8 +120637,8 @@ Object .assign (X3DShadersContext .prototype,
120615
120637
  },
120616
120638
  createShader (name, vs, fs = vs, options = [ ], uniformNames = [ ], transformFeedbackVaryings = [ ])
120617
120639
  {
120618
- if (this .getBrowserOption ("Debug"))
120619
- console .info (`Initializing ${name}Shader`);
120640
+ if (DEVELOPMENT)
120641
+ console .info (`Initializing ${name}Shader.`);
120620
120642
 
120621
120643
  const
120622
120644
  gl = this .getContext (),
@@ -121040,7 +121062,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
121040
121062
  x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
121041
121063
  /* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
121042
121064
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
121043
- /* provided dependency */ var KTXDecoder_$ = __webpack_require__(631);
121065
+ /* provided dependency */ var KTXDecoder_$ = __webpack_require__(418);
121044
121066
  const KTXDecoder_default_ = class KTXDecoder
121045
121067
  {
121046
121068
  constructor (gl, externalKtxlib, scriptDir)
@@ -122594,7 +122616,7 @@ const Components_default_ = Components;
122594
122616
  x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
122595
122617
  /* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
122596
122618
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
122597
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(631);
122619
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(418);
122598
122620
  /*******************************************************************************
122599
122621
  * MIT License
122600
122622
  *
@@ -122751,7 +122773,7 @@ class DOMIntegration
122751
122773
 
122752
122774
  const
122753
122775
  parentNode = element .parentNode,
122754
- node = DOMIntegration_$.data (parentNode, "node");
122776
+ node = DOMIntegration_$.data (parentNode, "node");
122755
122777
 
122756
122778
  if (node)
122757
122779
  {
@@ -122968,6 +122990,10 @@ class DOMIntegration
122968
122990
  if (!node)
122969
122991
  return;
122970
122992
 
122993
+ // Unfortunately `getEventListeners` is not available all the time.
122994
+ // if (!getEventListeners (element) .hasOwnProperty (field .getName ()))
122995
+ // return;
122996
+
122971
122997
  const event = new CustomEvent (field .getName (),
122972
122998
  {
122973
122999
  detail: {
@@ -123727,8 +123753,138 @@ const SupportedProfiles_default_ = SupportedProfiles;
123727
123753
 
123728
123754
  x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
123729
123755
  /* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
123756
+ ;// CONCATENATED MODULE: ./src/x_ite/Configuration/FieldTypesArray.js
123757
+ /*******************************************************************************
123758
+ *
123759
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
123760
+ *
123761
+ * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
123762
+ *
123763
+ * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
123764
+ *
123765
+ * The copyright notice above does not evidence any actual of intended
123766
+ * publication of such source code, and is an unpublished work by create3000.
123767
+ * This material contains CONFIDENTIAL INFORMATION that is the property of
123768
+ * create3000.
123769
+ *
123770
+ * No permission is granted to copy, distribute, or create derivative works from
123771
+ * the contents of this software, in whole or in part, without the prior written
123772
+ * permission of create3000.
123773
+ *
123774
+ * NON-MILITARY USE ONLY
123775
+ *
123776
+ * All create3000 software are effectively free software with a non-military use
123777
+ * restriction. It is free. Well commented source is provided. You may reuse the
123778
+ * source in any way you please with the exception anything that uses it must be
123779
+ * marked to indicate is contains 'non-military use only' components.
123780
+ *
123781
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
123782
+ *
123783
+ * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
123784
+ *
123785
+ * This file is part of the X_ITE Project.
123786
+ *
123787
+ * X_ITE is free software: you can redistribute it and/or modify it under the
123788
+ * terms of the GNU General Public License version 3 only, as published by the
123789
+ * Free Software Foundation.
123790
+ *
123791
+ * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
123792
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
123793
+ * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
123794
+ * details (a copy is included in the LICENSE file that accompanied this code).
123795
+ *
123796
+ * You should have received a copy of the GNU General Public License version 3
123797
+ * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
123798
+ * copy of the GPLv3 License.
123799
+ *
123800
+ * For Silvio, Joy and Adi.
123801
+ *
123802
+ ******************************************************************************/
123803
+
123804
+
123805
+
123806
+ function FieldTypesArray (values = [ ])
123807
+ {
123808
+ return Base_X3DInfoArray .call (this, Array .from (values, value => [value .typeName, value]), Function);
123809
+ }
123810
+
123811
+ Object .setPrototypeOf (FieldTypesArray .prototype, Base_X3DInfoArray .prototype);
123812
+
123813
+ for (const key of Object .keys (FieldTypesArray .prototype))
123814
+ Object .defineProperty (FieldTypesArray .prototype, key, { enumerable: false });
123815
+
123816
+ Object .defineProperties (FieldTypesArray,
123817
+ {
123818
+ typeName:
123819
+ {
123820
+ value: "FieldTypesArray",
123821
+ enumerable: true,
123822
+ },
123823
+ });
123824
+
123825
+ const FieldTypesArray_default_ = FieldTypesArray;
123826
+ ;
123827
+
123828
+ x_ite_Namespace .add ("FieldTypesArray", "x_ite/Configuration/FieldTypesArray", FieldTypesArray_default_);
123829
+ /* harmony default export */ const Configuration_FieldTypesArray = (FieldTypesArray_default_);
123830
+ ;// CONCATENATED MODULE: ./src/x_ite/Configuration/FieldTypes.js
123831
+ /*******************************************************************************
123832
+ *
123833
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
123834
+ *
123835
+ * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
123836
+ *
123837
+ * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
123838
+ *
123839
+ * The copyright notice above does not evidence any actual of intended
123840
+ * publication of such source code, and is an unpublished work by create3000.
123841
+ * This material contains CONFIDENTIAL INFORMATION that is the property of
123842
+ * create3000.
123843
+ *
123844
+ * No permission is granted to copy, distribute, or create derivative works from
123845
+ * the contents of this software, in whole or in part, without the prior written
123846
+ * permission of create3000.
123847
+ *
123848
+ * NON-MILITARY USE ONLY
123849
+ *
123850
+ * All create3000 software are effectively free software with a non-military use
123851
+ * restriction. It is free. Well commented source is provided. You may reuse the
123852
+ * source in any way you please with the exception anything that uses it must be
123853
+ * marked to indicate is contains 'non-military use only' components.
123854
+ *
123855
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
123856
+ *
123857
+ * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
123858
+ *
123859
+ * This file is part of the X_ITE Project.
123860
+ *
123861
+ * X_ITE is free software: you can redistribute it and/or modify it under the
123862
+ * terms of the GNU General Public License version 3 only, as published by the
123863
+ * Free Software Foundation.
123864
+ *
123865
+ * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
123866
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
123867
+ * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
123868
+ * details (a copy is included in the LICENSE file that accompanied this code).
123869
+ *
123870
+ * You should have received a copy of the GNU General Public License version 3
123871
+ * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
123872
+ * copy of the GPLv3 License.
123873
+ *
123874
+ * For Silvio, Joy and Adi.
123875
+ *
123876
+ ******************************************************************************/
123877
+
123878
+
123879
+
123880
+
123881
+ const FieldTypes_default_ = new Configuration_FieldTypesArray (Object .values (x_ite_Fields));
123882
+ ;
123883
+
123884
+ x_ite_Namespace .add ("FieldTypes", "x_ite/Configuration/FieldTypes", FieldTypes_default_);
123885
+ /* harmony default export */ const FieldTypes = (FieldTypes_default_);
123730
123886
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
123731
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(631);
123887
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(418);
123732
123888
  /*******************************************************************************
123733
123889
  *
123734
123890
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -123798,6 +123954,7 @@ x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfile
123798
123954
 
123799
123955
 
123800
123956
 
123957
+
123801
123958
 
123802
123959
 
123803
123960
  const
@@ -123806,6 +123963,7 @@ const
123806
123963
  _supportedComponents = Symbol (),
123807
123964
  _concreteNodes = Symbol (),
123808
123965
  _abstractNodes = Symbol (),
123966
+ _fieldTypes = Symbol (),
123809
123967
  _reject = Symbol (),
123810
123968
  _fileLoader = Symbol (),
123811
123969
  _browserCallbacks = Symbol (),
@@ -123827,6 +123985,7 @@ function X3DBrowser (element)
123827
123985
  this [_supportedComponents] = Configuration_SupportedComponents .copy ();
123828
123986
  this [_concreteNodes] = ConcreteNodes .copy ();
123829
123987
  this [_abstractNodes] = AbstractNodes .copy ();
123988
+ this [_fieldTypes] = FieldTypes .copy ();
123830
123989
  this [_console] = document .getElementsByClassName ("x_ite-console");
123831
123990
 
123832
123991
  this [_browserCallbacks] = new Map ([
@@ -124029,7 +124188,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
124029
124188
  for (const arg of args)
124030
124189
  {
124031
124190
  if (arg instanceof Execution_X3DScene)
124032
- component .push (... (arg .profile ?.components ?? [ ]), ... arg .components);
124191
+ component .push (... (arg .profile ?? this .getProfile ("Full")) .components, ... arg .components);
124033
124192
 
124034
124193
  else if (arg instanceof Configuration_ProfileInfo)
124035
124194
  component .push (... arg .components);
@@ -124041,7 +124200,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
124041
124200
  component .push (arg);
124042
124201
 
124043
124202
  else if (typeof arg === "string")
124044
- component .push (this [_supportedComponents] .get (arg))
124203
+ component .push (this .getComponent (arg))
124045
124204
  }
124046
124205
 
124047
124206
  // Load array of component names.
@@ -124098,6 +124257,19 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
124098
124257
  {
124099
124258
  return this [_abstractNodes];
124100
124259
  },
124260
+ getFieldType (typeName)
124261
+ {
124262
+ const fieldType = this [_fieldTypes] .get (String (typeName));
124263
+
124264
+ if (fieldType)
124265
+ return fieldType;
124266
+
124267
+ throw new Error (`Field type '${typeName}' does not exists.`);
124268
+ },
124269
+ getFieldTypes ()
124270
+ {
124271
+ return this [_fieldTypes];
124272
+ },
124101
124273
  createScene (profile, ... components)
124102
124274
  {
124103
124275
  const scene = new Execution_X3DScene (this);
@@ -124185,7 +124357,6 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
124185
124357
  return;
124186
124358
 
124187
124359
  loadCount .removeInterest ("checkLoadCount", this);
124188
- this .touch (0, 0);
124189
124360
  this .setBrowserLoading (false);
124190
124361
  this .initialized () .set (this .getCurrentTime ());
124191
124362
  this .initialized () .processInterests ();
@@ -124765,34 +124936,27 @@ Object .defineProperties (X3DBrowser .prototype,
124765
124936
  },
124766
124937
  supportedProfiles:
124767
124938
  {
124768
- get ()
124769
- {
124770
- return this [_supportedProfiles];
124771
- },
124939
+ get: X3DBrowser .prototype .getSupportedProfiles,
124772
124940
  enumerable: true,
124773
124941
  },
124774
124942
  supportedComponents:
124775
124943
  {
124776
- get ()
124777
- {
124778
- return this [_supportedComponents];
124779
- },
124944
+ get: X3DBrowser .prototype .getSupportedComponents,
124780
124945
  enumerable: true,
124781
124946
  },
124782
124947
  concreteNodes:
124783
124948
  {
124784
- get ()
124785
- {
124786
- return this [_concreteNodes];
124787
- },
124949
+ get: X3DBrowser .prototype .getConcreteNodes,
124788
124950
  enumerable: true,
124789
124951
  },
124790
124952
  abstractNodes:
124791
124953
  {
124792
- get ()
124793
- {
124794
- return this [_abstractNodes];
124795
- },
124954
+ get: X3DBrowser .prototype .getAbstractNodes,
124955
+ enumerable: true,
124956
+ },
124957
+ fieldTypes:
124958
+ {
124959
+ get: X3DBrowser .prototype .getFieldTypes,
124796
124960
  enumerable: true,
124797
124961
  },
124798
124962
  element:
@@ -124822,7 +124986,7 @@ const X3DBrowser_default_ = X3DBrowser;
124822
124986
  x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
124823
124987
  /* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
124824
124988
  ;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
124825
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(631);
124989
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(418);
124826
124990
  /*******************************************************************************
124827
124991
  *
124828
124992
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -124909,6 +125073,8 @@ class X3DCanvasElement extends HTMLElement
124909
125073
  "contextMenu",
124910
125074
  "contextmenu",
124911
125075
  "debug",
125076
+ "logarithmicDepthBuffer",
125077
+ "logarithmicdepthbuffer",
124912
125078
  "multisampling",
124913
125079
  "notifications",
124914
125080
  "oninitialized",
@@ -124959,8 +125125,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
124959
125125
  x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
124960
125126
  /* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
124961
125127
  ;// CONCATENATED MODULE: ./src/lib/jquery.js
124962
- /* provided dependency */ var jquery_$ = __webpack_require__(631);
124963
- /* provided dependency */ var pako = __webpack_require__(511);
125128
+ /* provided dependency */ var jquery_$ = __webpack_require__(418);
125129
+ /* provided dependency */ var pako = __webpack_require__(674);
124964
125130
  Object .assign (jquery_$,
124965
125131
  {
124966
125132
  decodeText (input)
@@ -125037,14 +125203,14 @@ const jquery_default_ = jquery_$;
125037
125203
  x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
125038
125204
  /* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
125039
125205
  ;// CONCATENATED MODULE: ./src/lib/libtess.js
125040
- /* provided dependency */ var libtess_libtess = __webpack_require__(580);
125206
+ /* provided dependency */ var libtess_libtess = __webpack_require__(803);
125041
125207
  const libtess_default_ = libtess_libtess;
125042
125208
  ;
125043
125209
 
125044
125210
  x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
125045
125211
  /* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
125046
125212
  ;// CONCATENATED MODULE: ./src/x_ite/X3D.js
125047
- /* provided dependency */ var X3D_$ = __webpack_require__(631);
125213
+ /* provided dependency */ var X3D_$ = __webpack_require__(418);
125048
125214
  /*******************************************************************************
125049
125215
  *
125050
125216
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -125352,7 +125518,7 @@ Object .assign (X3D,
125352
125518
 
125353
125519
  // Assign X3D to global namespace.
125354
125520
 
125355
- window [Symbol .for ("X_ITE.X3D-9.6.2")] = x_ite_X3D;
125521
+ window [Symbol .for ("X_ITE.X3D-9.6.3")] = x_ite_X3D;
125356
125522
 
125357
125523
  customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
125358
125524