x_ite 10.5.1 → 10.5.2

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 +4 -4
  2. package/dist/assets/components/AnnotationComponent.js +2 -2
  3. package/dist/assets/components/AnnotationComponent.min.js +2 -2
  4. package/dist/assets/components/CADGeometryComponent.js +2 -2
  5. package/dist/assets/components/CADGeometryComponent.min.js +2 -2
  6. package/dist/assets/components/CubeMapTexturingComponent.js +2 -2
  7. package/dist/assets/components/CubeMapTexturingComponent.min.js +2 -2
  8. package/dist/assets/components/DISComponent.js +2 -2
  9. package/dist/assets/components/DISComponent.min.js +2 -2
  10. package/dist/assets/components/EventUtilitiesComponent.js +2 -2
  11. package/dist/assets/components/EventUtilitiesComponent.min.js +2 -2
  12. package/dist/assets/components/Geometry2DComponent.js +2 -2
  13. package/dist/assets/components/Geometry2DComponent.min.js +2 -2
  14. package/dist/assets/components/GeospatialComponent.js +2 -2
  15. package/dist/assets/components/GeospatialComponent.min.js +2 -2
  16. package/dist/assets/components/HAnimComponent.js +2 -2
  17. package/dist/assets/components/HAnimComponent.min.js +2 -2
  18. package/dist/assets/components/KeyDeviceSensorComponent.js +2 -2
  19. package/dist/assets/components/KeyDeviceSensorComponent.min.js +2 -2
  20. package/dist/assets/components/LayoutComponent.js +2 -2
  21. package/dist/assets/components/LayoutComponent.min.js +2 -2
  22. package/dist/assets/components/NURBSComponent.js +134 -37
  23. package/dist/assets/components/NURBSComponent.min.js +2 -2
  24. package/dist/assets/components/ParticleSystemsComponent.js +3 -3
  25. package/dist/assets/components/ParticleSystemsComponent.min.js +2 -2
  26. package/dist/assets/components/PickingComponent.js +2 -2
  27. package/dist/assets/components/PickingComponent.min.js +2 -2
  28. package/dist/assets/components/RigidBodyPhysicsComponent.js +2 -2
  29. package/dist/assets/components/RigidBodyPhysicsComponent.min.js +2 -2
  30. package/dist/assets/components/ScriptingComponent.js +2 -2
  31. package/dist/assets/components/ScriptingComponent.min.js +2 -2
  32. package/dist/assets/components/TextComponent.js +4 -4
  33. package/dist/assets/components/TextComponent.min.js +2 -2
  34. package/dist/assets/components/TextureProjectionComponent.js +2 -2
  35. package/dist/assets/components/TextureProjectionComponent.min.js +2 -2
  36. package/dist/assets/components/Texturing3DComponent.js +10 -10
  37. package/dist/assets/components/Texturing3DComponent.min.js +2 -2
  38. package/dist/assets/components/VolumeRenderingComponent.js +121 -178
  39. package/dist/assets/components/VolumeRenderingComponent.min.js +2 -2
  40. package/dist/assets/components/X_ITEComponent.js +2 -2
  41. package/dist/assets/components/X_ITEComponent.min.js +2 -2
  42. package/dist/example.html +1 -1
  43. package/dist/x_ite.css +1 -1
  44. package/dist/x_ite.js +312 -310
  45. package/dist/x_ite.min.js +2 -2
  46. package/dist/x_ite.min.mjs +2 -2
  47. package/dist/x_ite.mjs +312 -310
  48. package/dist/x_ite.zip +0 -0
  49. package/package.json +3 -2
package/dist/x_ite.js CHANGED
@@ -1,4 +1,4 @@
1
- /* X_ITE v10.5.1 */
1
+ /* X_ITE v10.5.2 */
2
2
  (function webpackUniversalModuleDefinition(root, factory) {
3
3
  if(typeof exports === 'object' && typeof module === 'object')
4
4
  module.exports = factory();
@@ -12,10 +12,10 @@
12
12
  return /******/ (() => { // webpackBootstrap
13
13
  /******/ var __webpack_modules__ = ({
14
14
 
15
- /***/ 530:
15
+ /***/ 343:
16
16
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
17
17
 
18
- /* provided dependency */ var jQuery = __webpack_require__(962);
18
+ /* provided dependency */ var jQuery = __webpack_require__(91);
19
19
  /**
20
20
  * @preserve jquery.fullscreen 1.1.5
21
21
  * https://github.com/code-lts/jquery-fullscreen-plugin
@@ -211,7 +211,7 @@ installFullScreenHandlers();
211
211
 
212
212
  /***/ }),
213
213
 
214
- /***/ 952:
214
+ /***/ 283:
215
215
  /***/ ((module, exports, __webpack_require__) => {
216
216
 
217
217
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -225,7 +225,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
225
225
  (function (factory) {
226
226
  if ( true ) {
227
227
  // AMD. Register as an anonymous module.
228
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(962)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
228
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(91)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
229
229
  __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
230
230
  (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
231
231
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -436,7 +436,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
436
436
 
437
437
  /***/ }),
438
438
 
439
- /***/ 962:
439
+ /***/ 91:
440
440
  /***/ (function(module, exports) {
441
441
 
442
442
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -11160,7 +11160,7 @@ return jQuery;
11160
11160
 
11161
11161
  /***/ }),
11162
11162
 
11163
- /***/ 459:
11163
+ /***/ 744:
11164
11164
  /***/ ((module) => {
11165
11165
 
11166
11166
  /**
@@ -15939,7 +15939,7 @@ if (true) {
15939
15939
 
15940
15940
  /***/ }),
15941
15941
 
15942
- /***/ 58:
15942
+ /***/ 483:
15943
15943
  /***/ (function(__unused_webpack_module, exports) {
15944
15944
 
15945
15945
 
@@ -19184,7 +19184,7 @@ if (true) {
19184
19184
 
19185
19185
  /***/ }),
19186
19186
 
19187
- /***/ 346:
19187
+ /***/ 396:
19188
19188
  /***/ (function(module, exports) {
19189
19189
 
19190
19190
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -20311,7 +20311,7 @@ Object .defineProperty (Namespace, "add",
20311
20311
  return module;
20312
20312
  }
20313
20313
 
20314
- const X3D = window [Symbol .for ("X_ITE.X3D-10.5.1")];
20314
+ const X3D = window [Symbol .for ("X_ITE.X3D-10.5.2")];
20315
20315
 
20316
20316
  if (X3D)
20317
20317
  X3D [name] = module;
@@ -34173,7 +34173,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
34173
34173
 
34174
34174
  /* harmony default export */ const Base_X3DBaseNode = (x_ite_Namespace .add ("X3DBaseNode", X3DBaseNode_default_));
34175
34175
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
34176
- /* provided dependency */ var $ = __webpack_require__(962);
34176
+ /* provided dependency */ var $ = __webpack_require__(91);
34177
34177
  /*******************************************************************************
34178
34178
  *
34179
34179
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -34309,7 +34309,7 @@ const Legacy_default_ = Legacy;
34309
34309
  *
34310
34310
  ******************************************************************************/
34311
34311
 
34312
- const BROWSER_VERSION_default_ = "10.5.1";
34312
+ const BROWSER_VERSION_default_ = "10.5.2";
34313
34313
  ;
34314
34314
 
34315
34315
  /* harmony default export */ const BROWSER_VERSION = (x_ite_Namespace .add ("BROWSER_VERSION", BROWSER_VERSION_default_));
@@ -37334,7 +37334,7 @@ const X3DBindableNode_default_ = X3DBindableNode;
37334
37334
 
37335
37335
  /* harmony default export */ const Core_X3DBindableNode = (x_ite_Namespace .add ("X3DBindableNode", X3DBindableNode_default_));
37336
37336
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
37337
- /* provided dependency */ var libtess = __webpack_require__(459);
37337
+ /* provided dependency */ var libtess = __webpack_require__(744);
37338
37338
  /*******************************************************************************
37339
37339
  *
37340
37340
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39896,7 +39896,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
39896
39896
 
39897
39897
  /* harmony default export */ const Prototype_X3DProtoDeclaration = (x_ite_Namespace .add ("X3DProtoDeclaration", X3DProtoDeclaration_default_));
39898
39898
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
39899
- /* provided dependency */ var X3DParser_$ = __webpack_require__(962);
39899
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(91);
39900
39900
  /*******************************************************************************
39901
39901
  *
39902
39902
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -40151,7 +40151,7 @@ const Expressions_default_ = Expressions;
40151
40151
 
40152
40152
  /* harmony default export */ const Parser_Expressions = (x_ite_Namespace .add ("Expressions", Expressions_default_));
40153
40153
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
40154
- /* provided dependency */ var VRMLParser_$ = __webpack_require__(962);
40154
+ /* provided dependency */ var VRMLParser_$ = __webpack_require__(91);
40155
40155
  /*******************************************************************************
40156
40156
  *
40157
40157
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -41798,12 +41798,12 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
41798
41798
  },
41799
41799
  sfboolValues (field)
41800
41800
  {
41801
- field .length = 0;
41802
-
41803
- const target = field .getTarget ();
41801
+ const array = [ ];
41804
41802
 
41805
41803
  while (this .bool ())
41806
- target .push (this .value);
41804
+ array .push (this .value);
41805
+
41806
+ field .setValue (array);
41807
41807
 
41808
41808
  return field .length !== 0;
41809
41809
  },
@@ -41873,14 +41873,12 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
41873
41873
  },
41874
41874
  sfcolorValues (field)
41875
41875
  {
41876
- field .length = 0;
41876
+ const array = [ ];
41877
41877
 
41878
- const
41879
- target = field .getTarget (),
41880
- value = this .Color3;
41878
+ while (this .double ())
41879
+ array .push (this .value);
41881
41880
 
41882
- while (this .sfcolorValue (value))
41883
- target .push (value);
41881
+ field .setValue (array);
41884
41882
 
41885
41883
  return field .length !== 0;
41886
41884
  },
@@ -41945,7 +41943,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
41945
41943
 
41946
41944
  if (Grammar .OpenBracket .parse (this))
41947
41945
  {
41948
- this .sfcolorrgbaValues (field);
41946
+ this .sfcolorValues (field);
41949
41947
 
41950
41948
  if (Grammar .CloseBracket .parse (this))
41951
41949
  return true;
@@ -41955,19 +41953,6 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
41955
41953
 
41956
41954
  return false;
41957
41955
  },
41958
- sfcolorrgbaValues (field)
41959
- {
41960
- field .length = 0;
41961
-
41962
- const
41963
- target = field .getTarget (),
41964
- value = this .Color4;
41965
-
41966
- while (this .sfcolorrgbaValue (value))
41967
- target .push (value);
41968
-
41969
- return field .length !== 0;
41970
- },
41971
41956
  sfdoubleValue (field)
41972
41957
  {
41973
41958
  if (this .double ())
@@ -42002,14 +41987,14 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
42002
41987
  },
42003
41988
  sfdoubleValues (field)
42004
41989
  {
42005
- field .length = 0;
42006
-
42007
41990
  const
42008
- target = field .getTarget (),
42009
- unit = target .getUnit ();
41991
+ unit = field .getUnit (),
41992
+ array = [ ];
42010
41993
 
42011
41994
  while (this .double ())
42012
- target .push (this .fromUnit (unit, this .value));
41995
+ array .push (this .fromUnit (unit, this .value));
41996
+
41997
+ field .setValue (array);
42013
41998
 
42014
41999
  return field .length !== 0;
42015
42000
  },
@@ -42026,26 +42011,26 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
42026
42011
  if (this .int32 ())
42027
42012
  {
42028
42013
  const
42029
- comp = this .value,
42030
- size = width * height;
42031
-
42032
- field .width = width;
42033
- field .height = height;
42034
- field .comp = comp;
42035
-
42036
- const array = field .array;
42014
+ comp = this .value,
42015
+ size = width * height,
42016
+ array = [ ];
42037
42017
 
42038
42018
  for (let i = 0; i < size; ++ i)
42039
42019
  {
42040
42020
  if (this .int32 ())
42041
42021
  {
42042
- array [i] = this .value;
42022
+ array .push (this .value);
42043
42023
  continue;
42044
42024
  }
42045
42025
 
42046
42026
  return false;
42047
42027
  }
42048
42028
 
42029
+ field .width = width;
42030
+ field .height = height;
42031
+ field .comp = comp;
42032
+ field .array = array;
42033
+
42049
42034
  return true;
42050
42035
  }
42051
42036
  }
@@ -42122,12 +42107,12 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
42122
42107
  },
42123
42108
  sfint32Values (field)
42124
42109
  {
42125
- field .length = 0;
42126
-
42127
- const target = field .getTarget ();
42110
+ const array = [ ];
42128
42111
 
42129
42112
  while (this .int32 ())
42130
- target .push (this .value);
42113
+ array .push (this .value);
42114
+
42115
+ field .setValue (array);
42131
42116
 
42132
42117
  return field .length !== 0;
42133
42118
  },
@@ -42204,7 +42189,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
42204
42189
 
42205
42190
  if (Grammar .OpenBracket .parse (this))
42206
42191
  {
42207
- this .sfmatrix3Values (field);
42192
+ this .sfmatrixValues (field);
42208
42193
 
42209
42194
  if (Grammar .CloseBracket .parse (this))
42210
42195
  return true;
@@ -42214,16 +42199,14 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
42214
42199
 
42215
42200
  return false;
42216
42201
  },
42217
- sfmatrix3Values (field)
42202
+ sfmatrixValues (field)
42218
42203
  {
42219
- field .length = 0;
42204
+ const array = [ ];
42220
42205
 
42221
- const
42222
- target = field .getTarget (),
42223
- value = this .Matrix3;
42206
+ while (this .double ())
42207
+ array .push (this .value);
42224
42208
 
42225
- while (this .sfmatrix3Value (value))
42226
- target .push (value);
42209
+ field .setValue (array);
42227
42210
 
42228
42211
  return field .length !== 0;
42229
42212
  },
@@ -42342,7 +42325,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
42342
42325
 
42343
42326
  if (Grammar .OpenBracket .parse (this))
42344
42327
  {
42345
- this .sfmatrix4Values (field);
42328
+ this .sfmatrixValues (field);
42346
42329
 
42347
42330
  if (Grammar .CloseBracket .parse (this))
42348
42331
  return true;
@@ -42352,19 +42335,6 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
42352
42335
 
42353
42336
  return false;
42354
42337
  },
42355
- sfmatrix4Values (field)
42356
- {
42357
- field .length = 0;
42358
-
42359
- const
42360
- target = field .getTarget (),
42361
- value = this .Matrix4;
42362
-
42363
- while (this .sfmatrix4Value (value))
42364
- target .push (value);
42365
-
42366
- return field .length !== 0;
42367
- },
42368
42338
  sfnodeValue (field)
42369
42339
  {
42370
42340
  const baseNode = this .nodeStatement ();
@@ -42514,12 +42484,12 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
42514
42484
  },
42515
42485
  sfstringValues (field)
42516
42486
  {
42517
- field .length = 0;
42518
-
42519
- const target = field .getTarget ();
42487
+ const array = [ ];
42520
42488
 
42521
42489
  while (this .string ())
42522
- target .push (this .value);
42490
+ array .push (this .value);
42491
+
42492
+ field .setValue (array);
42523
42493
 
42524
42494
  return field .length !== 0;
42525
42495
  },
@@ -42554,7 +42524,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
42554
42524
 
42555
42525
  if (Grammar .OpenBracket .parse (this))
42556
42526
  {
42557
- this .sfvec2Values (field);
42527
+ this .sfvecValues (field);
42558
42528
 
42559
42529
  if (Grammar .CloseBracket .parse (this))
42560
42530
  return true;
@@ -42564,17 +42534,16 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
42564
42534
 
42565
42535
  return false;
42566
42536
  },
42567
- sfvec2Values (field)
42537
+ sfvecValues (field)
42568
42538
  {
42569
- field .length = 0;
42570
-
42571
42539
  const
42572
- target = field .getTarget (),
42573
- value = this .Vector2,
42574
- unit = target .getUnit ();
42540
+ unit = field .getUnit (),
42541
+ array = [ ];
42575
42542
 
42576
- while (this .sfvec2Value (value, unit))
42577
- target .push (value);
42543
+ while (this .double ())
42544
+ array .push (this .fromUnit (unit, this .value));
42545
+
42546
+ field .setValue (array);
42578
42547
 
42579
42548
  return field .length !== 0;
42580
42549
  },
@@ -42615,7 +42584,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
42615
42584
 
42616
42585
  if (Grammar .OpenBracket .parse (this))
42617
42586
  {
42618
- this .sfvec3Values (field);
42587
+ this .sfvecValues (field);
42619
42588
 
42620
42589
  if (Grammar .CloseBracket .parse (this))
42621
42590
  return true;
@@ -42625,20 +42594,6 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
42625
42594
 
42626
42595
  return false;
42627
42596
  },
42628
- sfvec3Values (field)
42629
- {
42630
- field .length = 0;
42631
-
42632
- const
42633
- target = field .getTarget (),
42634
- value = this .Vector3,
42635
- unit = target .getUnit ();
42636
-
42637
- while (this .sfvec3Value (value, unit))
42638
- target .push (value);
42639
-
42640
- return field .length !== 0;
42641
- },
42642
42597
  sfvec4Value (field, unit)
42643
42598
  {
42644
42599
  if (this .double ())
@@ -42682,7 +42637,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
42682
42637
 
42683
42638
  if (Grammar .OpenBracket .parse (this))
42684
42639
  {
42685
- this .sfvec4Values (field);
42640
+ this .sfvecValues (field);
42686
42641
 
42687
42642
  if (Grammar .CloseBracket .parse (this))
42688
42643
  return true;
@@ -42692,20 +42647,6 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
42692
42647
 
42693
42648
  return false;
42694
42649
  },
42695
- sfvec4Values (field)
42696
- {
42697
- field .length = 0;
42698
-
42699
- const
42700
- target = field .getTarget (),
42701
- value = this .Vector4,
42702
- unit = target .getUnit ();
42703
-
42704
- while (this .sfvec4Value (value, unit))
42705
- target .push (value);
42706
-
42707
- return field .length !== 0;
42708
- },
42709
42650
  unknownValue ()
42710
42651
  {
42711
42652
  try
@@ -42850,7 +42791,7 @@ const VRMLParser_default_ = VRMLParser;
42850
42791
 
42851
42792
  /* harmony default export */ const Parser_VRMLParser = (x_ite_Namespace .add ("VRMLParser", VRMLParser_default_));
42852
42793
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
42853
- /* provided dependency */ var XMLParser_$ = __webpack_require__(962);
42794
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(91);
42854
42795
  /*******************************************************************************
42855
42796
  *
42856
42797
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -43982,25 +43923,25 @@ Object .assign (XMLParser .prototype,
43982
43923
 
43983
43924
  [Base_X3DConstants .MFBool]: Parser_VRMLParser .prototype .sfboolValues,
43984
43925
  [Base_X3DConstants .MFColor]: Parser_VRMLParser .prototype .sfcolorValues,
43985
- [Base_X3DConstants .MFColorRGBA]: Parser_VRMLParser .prototype .sfcolorrgbaValues,
43926
+ [Base_X3DConstants .MFColorRGBA]: Parser_VRMLParser .prototype .sfcolorValues,
43986
43927
  [Base_X3DConstants .MFDouble]: Parser_VRMLParser .prototype .sfdoubleValues,
43987
43928
  [Base_X3DConstants .MFFloat]: Parser_VRMLParser .prototype .sfdoubleValues,
43988
43929
  [Base_X3DConstants .MFImage]: Parser_VRMLParser .prototype .sfimageValues,
43989
43930
  [Base_X3DConstants .MFInt32]: Parser_VRMLParser .prototype .sfint32Values,
43990
- [Base_X3DConstants .MFMatrix3d]: Parser_VRMLParser .prototype .sfmatrix3Values,
43991
- [Base_X3DConstants .MFMatrix3f]: Parser_VRMLParser .prototype .sfmatrix3Values,
43992
- [Base_X3DConstants .MFMatrix4d]: Parser_VRMLParser .prototype .sfmatrix4Values,
43993
- [Base_X3DConstants .MFMatrix4f]: Parser_VRMLParser .prototype .sfmatrix4Values,
43931
+ [Base_X3DConstants .MFMatrix3d]: Parser_VRMLParser .prototype .sfmatrixValues,
43932
+ [Base_X3DConstants .MFMatrix3f]: Parser_VRMLParser .prototype .sfmatrixValues,
43933
+ [Base_X3DConstants .MFMatrix4d]: Parser_VRMLParser .prototype .sfmatrixValues,
43934
+ [Base_X3DConstants .MFMatrix4f]: Parser_VRMLParser .prototype .sfmatrixValues,
43994
43935
  [Base_X3DConstants .MFNode] (field) { field .length = 0; },
43995
43936
  [Base_X3DConstants .MFRotation]: Parser_VRMLParser .prototype .sfrotationValues,
43996
43937
  [Base_X3DConstants .MFString]: Parser_VRMLParser .prototype .sfstringValues,
43997
43938
  [Base_X3DConstants .MFTime]: Parser_VRMLParser .prototype .sfdoubleValues,
43998
- [Base_X3DConstants .MFVec2d]: Parser_VRMLParser .prototype .sfvec2Values,
43999
- [Base_X3DConstants .MFVec2f]: Parser_VRMLParser .prototype .sfvec2Values,
44000
- [Base_X3DConstants .MFVec3d]: Parser_VRMLParser .prototype .sfvec3Values,
44001
- [Base_X3DConstants .MFVec3f]: Parser_VRMLParser .prototype .sfvec3Values,
44002
- [Base_X3DConstants .MFVec4d]: Parser_VRMLParser .prototype .sfvec4Values,
44003
- [Base_X3DConstants .MFVec4f]: Parser_VRMLParser .prototype .sfvec4Values,
43939
+ [Base_X3DConstants .MFVec2d]: Parser_VRMLParser .prototype .sfvecValues,
43940
+ [Base_X3DConstants .MFVec2f]: Parser_VRMLParser .prototype .sfvecValues,
43941
+ [Base_X3DConstants .MFVec3d]: Parser_VRMLParser .prototype .sfvecValues,
43942
+ [Base_X3DConstants .MFVec3f]: Parser_VRMLParser .prototype .sfvecValues,
43943
+ [Base_X3DConstants .MFVec4d]: Parser_VRMLParser .prototype .sfvecValues,
43944
+ [Base_X3DConstants .MFVec4f]: Parser_VRMLParser .prototype .sfvecValues,
44004
43945
  });
44005
43946
 
44006
43947
  // HTML Support
@@ -44212,14 +44153,13 @@ Object .assign (Object .setPrototypeOf (JSONParser .prototype, Parser_X3DParser
44212
44153
 
44213
44154
  for (const key in object)
44214
44155
  {
44215
- if (typeof object [key] === "object")
44216
- {
44217
- if (isNaN (parseInt (key)))
44218
- this .convertObject (key, object, element, parentkey .substring (1));
44156
+ if (typeof object [key] !== "object")
44157
+ continue;
44219
44158
 
44220
- else
44221
- this .convertToDOM (object[ key], key, element, parentkey .substring (1));
44222
- }
44159
+ if (isNaN (parseInt (key)))
44160
+ this .convertObject (key, object, element, parentkey .substring (1));
44161
+ else
44162
+ this .convertToDOM (object [key], key, element, parentkey .substring (1));
44223
44163
  }
44224
44164
  },
44225
44165
  createElement (key, containerField)
@@ -44341,7 +44281,7 @@ Object .assign (Object .setPrototypeOf (JSONParser .prototype, Parser_X3DParser
44341
44281
 
44342
44282
  return str;
44343
44283
  },
44344
- convertToDOM(object, parentkey, element, containerField)
44284
+ convertToDOM (object, parentkey, element, containerField)
44345
44285
  {
44346
44286
  /**
44347
44287
  * main routine for converting a JavaScript object to DOM.
@@ -44351,6 +44291,12 @@ Object .assign (Object .setPrototypeOf (JSONParser .prototype, Parser_X3DParser
44351
44291
  * containerField is a possible containerField.
44352
44292
  */
44353
44293
 
44294
+ if (object === null)
44295
+ {
44296
+ this .elementSetAttribute (element, "value", null);
44297
+ return element;
44298
+ }
44299
+
44354
44300
  let
44355
44301
  isArray = false,
44356
44302
  localArray = [ ],
@@ -45023,7 +44969,7 @@ const URLs_default_ = URLs;
45023
44969
 
45024
44970
  /* harmony default export */ const Networking_URLs = (x_ite_Namespace .add ("URLs", URLs_default_));
45025
44971
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
45026
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(962);
44972
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(91);
45027
44973
  /*******************************************************************************
45028
44974
  *
45029
44975
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -45283,7 +45229,14 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
45283
45229
  worldInfoNode ._info .sort ();
45284
45230
 
45285
45231
  if (!worldInfoNode ._title .getValue ())
45286
- worldInfoNode ._title = decodeURI (new URL (worldURL) .pathname .split ("/") .at (-1) || worldURL);
45232
+ {
45233
+ const url = new URL (worldURL);
45234
+
45235
+ if (url .protocol === "data:")
45236
+ worldInfoNode ._title = "glTF Model";
45237
+ else
45238
+ worldInfoNode ._title = decodeURIComponent (url .pathname .split ("/") .at (-1) || worldURL);
45239
+ }
45287
45240
 
45288
45241
  worldInfoNode .setup ();
45289
45242
 
@@ -48667,7 +48620,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
48667
48620
 
48668
48621
  /* harmony default export */ const Parser_GLTF2Parser = (x_ite_Namespace .add ("GLTF2Parser", GLTF2Parser_default_));
48669
48622
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
48670
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(962);
48623
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(91);
48671
48624
  /*******************************************************************************
48672
48625
  *
48673
48626
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -48818,7 +48771,7 @@ const GLB2Parser_default_ = GLB2Parser;
48818
48771
 
48819
48772
  /* harmony default export */ const Parser_GLB2Parser = (x_ite_Namespace .add ("GLB2Parser", GLB2Parser_default_));
48820
48773
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
48821
- /* provided dependency */ var OBJParser_$ = __webpack_require__(962);
48774
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(91);
48822
48775
  /*******************************************************************************
48823
48776
  *
48824
48777
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -50690,9 +50643,10 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
50690
50643
 
50691
50644
  const
50692
50645
  scene = this .getScene (),
50693
- worldInfo = scene .createNode ("WorldInfo");
50646
+ worldInfo = scene .createNode ("WorldInfo"),
50647
+ url = new URL (scene .worldURL);
50694
50648
 
50695
- worldInfo .title = new URL (scene .worldURL) .pathname .split ('/') .at (-1);
50649
+ worldInfo .title = url .protocol === "data:" ? "PLY Model" : url .pathname .split ('/') .at (-1);
50696
50650
  worldInfo .info = this .comments;
50697
50651
 
50698
50652
  scene .rootNodes .push (worldInfo);
@@ -52160,8 +52114,8 @@ const MatrixStack_default_ = MatrixStack;
52160
52114
 
52161
52115
  /* harmony default export */ const Utility_MatrixStack = (x_ite_Namespace .add ("MatrixStack", MatrixStack_default_));
52162
52116
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
52163
- /* provided dependency */ var SVGParser_$ = __webpack_require__(962);
52164
- /* provided dependency */ var SVGParser_libtess = __webpack_require__(459);
52117
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(91);
52118
+ /* provided dependency */ var SVGParser_libtess = __webpack_require__(744);
52165
52119
  /*******************************************************************************
52166
52120
  *
52167
52121
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -54931,7 +54885,7 @@ const SVGParser_default_ = SVGParser;
54931
54885
 
54932
54886
  /* harmony default export */ const Parser_SVGParser = (x_ite_Namespace .add ("SVGParser", SVGParser_default_));
54933
54887
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
54934
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(962);
54888
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(91);
54935
54889
  /*******************************************************************************
54936
54890
  *
54937
54891
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -60193,6 +60147,7 @@ const Shading_default_ = Shading;
60193
60147
 
60194
60148
 
60195
60149
 
60150
+
60196
60151
  // Box normals for bbox / line intersection.
60197
60152
  const boxNormals = [
60198
60153
  new Numbers_Vector3 (0, 0, 1), // front
@@ -60579,7 +60534,8 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
60579
60534
  }
60580
60535
  catch (error)
60581
60536
  {
60582
- console .error (error);
60537
+ if (DEVELOPMENT)
60538
+ console .error (error);
60583
60539
  }
60584
60540
  },
60585
60541
  refineNormals (normalIndex, normals, creaseAngle)
@@ -62940,7 +62896,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
62940
62896
 
62941
62897
  /* harmony default export */ const Texturing_X3DTexture2DNode = (x_ite_Namespace .add ("X3DTexture2DNode", X3DTexture2DNode_default_));
62942
62898
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
62943
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(962);
62899
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(91);
62944
62900
  /*******************************************************************************
62945
62901
  *
62946
62902
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -66324,7 +66280,7 @@ const X3DWorld_default_ = X3DWorld;
66324
66280
 
66325
66281
  /* harmony default export */ const Execution_X3DWorld = (x_ite_Namespace .add ("X3DWorld", X3DWorld_default_));
66326
66282
  ;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
66327
- /* provided dependency */ var FileLoader_$ = __webpack_require__(962);
66283
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(91);
66328
66284
  /*******************************************************************************
66329
66285
  *
66330
66286
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -66378,6 +66334,7 @@ const X3DWorld_default_ = X3DWorld;
66378
66334
 
66379
66335
 
66380
66336
 
66337
+
66381
66338
  const foreignMimeType = new Set ([
66382
66339
  "text/html",
66383
66340
  "application/xhtml+xml",
@@ -66459,34 +66416,36 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
66459
66416
  },
66460
66417
  setScene (scene, resolve, reject)
66461
66418
  {
66462
- scene ._initLoadCount .addInterest ("set_initLoadCount__", this, scene, resolve, reject);
66463
- scene ._initLoadCount .addEvent ();
66419
+ scene ._loadCount .addInterest ("set_loadCount__", this, scene, resolve, reject);
66420
+ scene ._loadCount .addEvent ();
66464
66421
  },
66465
- set_initLoadCount__ (scene, resolve, reject, field)
66422
+ async set_loadCount__ (scene, resolve, reject, field)
66466
66423
  {
66467
66424
  // Wait for extern protos to be loaded.
66468
66425
 
66469
- if (field .getValue ())
66470
- return;
66426
+ for (const externproto of scene .externprotos)
66427
+ {
66428
+ if (externproto .checkLoadState () === Base_X3DConstants .IN_PROGRESS_STATE)
66429
+ return;
66430
+ }
66471
66431
 
66472
- scene ._initLoadCount .removeInterest ("set_initLoadCount__", this);
66432
+ scene ._loadCount .removeInterest ("set_loadCount__", this);
66473
66433
 
66474
66434
  // Wait for instances to be created.
66475
66435
 
66476
- setTimeout (() =>
66436
+ await this .browser .nextFrame ();
66437
+
66438
+ try
66477
66439
  {
66478
- try
66479
- {
66480
- resolve (scene);
66481
- }
66482
- catch (error)
66483
- {
66484
- if (reject)
66485
- reject (error);
66486
- else
66487
- throw error;
66488
- }
66489
- });
66440
+ resolve (scene);
66441
+ }
66442
+ catch (error)
66443
+ {
66444
+ if (reject)
66445
+ reject (error);
66446
+ else
66447
+ throw error;
66448
+ }
66490
66449
 
66491
66450
  if (DEVELOPMENT)
66492
66451
  {
@@ -66511,13 +66470,13 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
66511
66470
  },
66512
66471
  loadDocument (url, callback)
66513
66472
  {
66514
- this .url = url .copy ();
66473
+ this .url = url .slice ();
66515
66474
  this .callback = callback;
66516
66475
 
66517
66476
  if (url .length === 0)
66518
66477
  return this .loadDocumentError (new Error ("No URL given."));
66519
66478
 
66520
- this .loadDocumentAsync (this .url .shift ())
66479
+ this .loadDocumentAsync (String (this .url .shift ()))
66521
66480
  .catch (this .loadDocumentError .bind (this));
66522
66481
  },
66523
66482
  async loadDocumentAsync (url)
@@ -66621,7 +66580,7 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
66621
66580
 
66622
66581
  if (this .url .length)
66623
66582
  {
66624
- this .loadDocumentAsync (this .url .shift ())
66583
+ this .loadDocumentAsync (String (this .url .shift ()))
66625
66584
  .catch (this .loadDocumentError .bind (this));
66626
66585
  }
66627
66586
  else
@@ -66703,7 +66662,8 @@ const FileLoader_default_ = FileLoader;
66703
66662
 
66704
66663
  const
66705
66664
  _proto = Symbol (),
66706
- _scene = Symbol ();
66665
+ _scene = Symbol (),
66666
+ X3DExternProtoDeclaration_cache = Symbol ();
66707
66667
 
66708
66668
  function X3DExternProtoDeclaration (executionContext, url)
66709
66669
  {
@@ -66716,6 +66676,8 @@ function X3DExternProtoDeclaration (executionContext, url)
66716
66676
  Base_X3DConstants .inputOutput, "url", url .copy (), // Must be of type MFString.
66717
66677
  Base_X3DConstants .inputOutput, "autoRefresh", new x_ite_Fields .SFTime (),
66718
66678
  Base_X3DConstants .inputOutput, "autoRefreshTimeLimit", new x_ite_Fields .SFTime (3600));
66679
+
66680
+ this .getBrowser () [X3DExternProtoDeclaration_cache] ??= new Map ();
66719
66681
  }
66720
66682
 
66721
66683
  Object .assign (Object .setPrototypeOf (X3DExternProtoDeclaration .prototype, Prototype_X3DProtoDeclarationNode .prototype),
@@ -66726,12 +66688,6 @@ Object .assign (Object .setPrototypeOf (X3DExternProtoDeclaration .prototype, Pr
66726
66688
  Prototype_X3DProtoDeclarationNode .prototype .initialize .call (this);
66727
66689
  Networking_X3DUrlObject .prototype .initialize .call (this);
66728
66690
  },
66729
- set_live__ ()
66730
- {
66731
- Networking_X3DUrlObject .prototype .set_live__ .call (this);
66732
-
66733
- this [_scene] ?.setLive (this .getLive () .getValue ());
66734
- },
66735
66691
  canUserDefinedFields ()
66736
66692
  {
66737
66693
  return true;
@@ -66752,55 +66708,89 @@ Object .assign (Object .setPrototypeOf (X3DExternProtoDeclaration .prototype, Pr
66752
66708
  {
66753
66709
  return this [_proto];
66754
66710
  },
66755
- loadData ()
66711
+ async loadData ()
66756
66712
  {
66757
- // 7.73 ExternProtoDeclaration function
66713
+ const browser = this .getBrowser ();
66714
+
66715
+ if (!this ._url .length)
66716
+ {
66717
+ this .setError (new Error ("No URL given."));
66718
+ return;
66719
+ }
66720
+
66721
+ for (const url of this ._url)
66722
+ {
66723
+ try
66724
+ {
66725
+ const
66726
+ resolvedURL = new URL (url, this .getExecutionContext () .getBaseURL ()),
66727
+ cacheURL = new URL (resolvedURL),
66728
+ cache = browser .getBrowserOption ("Cache");
66729
+
66730
+ cacheURL .hash = "";
66731
+
66732
+ const cachePromise = cache
66733
+ ? browser [X3DExternProtoDeclaration_cache] .get (cacheURL .href)
66734
+ : null;
66735
+
66736
+ const promise = cachePromise ?? new Promise (resolve =>
66737
+ {
66738
+ new InputOutput_FileLoader (this) .createX3DFromURL ([cacheURL], null, resolve);
66739
+ });
66740
+
66741
+ if (cache && !cachePromise)
66742
+ browser [X3DExternProtoDeclaration_cache] .set (cacheURL .href, promise);
66743
+
66744
+ const scene = await promise;
66745
+
66746
+ if (!scene)
66747
+ continue;
66758
66748
 
66759
- this .getScene () .addInitLoadCount (this);
66749
+ this .setInternalScene (scene, resolvedURL, cache);
66750
+ return;
66751
+ }
66752
+ catch (error)
66753
+ {
66754
+ console .warn (error .message);
66755
+ }
66756
+ }
66760
66757
 
66761
- new InputOutput_FileLoader (this) .createX3DFromURL (this ._url, null, this .setInternalSceneAsync .bind (this));
66758
+ this .setError (new Error ("File could not be loaded."));
66762
66759
  },
66763
- setInternalSceneAsync (value)
66760
+ getInternalScene ()
66764
66761
  {
66765
- if (value)
66766
- this .setInternalScene (value);
66767
-
66768
- else
66769
- this .setError (new Error ("File could not be loaded."));
66762
+ /// Returns the internal X3DScene of this extern proto, that is loaded from the url given.
66770
66763
 
66771
- this .getScene () .removeInitLoadCount (this);
66764
+ return this [_scene];
66772
66765
  },
66773
- setInternalScene (value)
66766
+ setInternalScene (scene, url, cache)
66774
66767
  {
66775
- if (this [_scene] !== this .getBrowser () .getPrivateScene ())
66768
+ const browser = this .getBrowser ();
66769
+
66770
+ if (this [_scene] !== browser .getDefaultScene () && !this [X3DExternProtoDeclaration_cache])
66776
66771
  this [_scene] ?.dispose ();
66777
66772
 
66778
- this [_scene] = value;
66773
+ this [_scene] = scene;
66774
+ this [X3DExternProtoDeclaration_cache] = cache;
66779
66775
 
66780
66776
  const
66781
- protoName = decodeURIComponent (new URL (this [_scene] .getWorldURL ()) .hash .substring (1)),
66777
+ protoName = decodeURIComponent (url .hash .substring (1)),
66782
66778
  proto = protoName ? this [_scene] .protos .get (protoName) : this [_scene] .protos [0];
66783
66779
 
66784
66780
  if (!proto)
66785
66781
  throw new Error ("PROTO not found");
66786
66782
 
66787
- this [_scene] .setExecutionContext (this .getExecutionContext ());
66788
- this [_scene] .setLive (this .getLive () .getValue ());
66783
+ this [_scene] .setExecutionContext (this [X3DExternProtoDeclaration_cache] ? browser .getDefaultScene () : this .getExecutionContext ());
66784
+ this [_scene] .setLive (true);
66789
66785
 
66790
66786
  this .setLoadState (Base_X3DConstants .COMPLETE_STATE);
66791
66787
  this .setProtoDeclaration (proto);
66792
66788
  },
66793
- getInternalScene ()
66794
- {
66795
- /// Returns the internal X3DScene of this extern proto, that is loaded from the url given.
66796
-
66797
- return this [_scene];
66798
- },
66799
66789
  setError (error)
66800
66790
  {
66801
66791
  console .error (`Error loading extern prototype '${this .getName ()}':`, error);
66802
66792
 
66803
- this [_scene] = this .getBrowser () .getPrivateScene ();
66793
+ this [_scene] = this .getBrowser () .getDefaultScene ();
66804
66794
 
66805
66795
  this .setLoadState (Base_X3DConstants .FAILED_STATE);
66806
66796
  this .setProtoDeclaration (null);
@@ -67254,7 +67244,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
67254
67244
 
67255
67245
  /* harmony default export */ const Prototype_ProtoDeclarationArray = (x_ite_Namespace .add ("ProtoDeclarationArray", ProtoDeclarationArray_default_));
67256
67246
  ;// CONCATENATED MODULE: ./src/x_ite/Routing/X3DRoute.js
67257
- /* provided dependency */ var X3DRoute_$ = __webpack_require__(962);
67247
+ /* provided dependency */ var X3DRoute_$ = __webpack_require__(91);
67258
67248
  /*******************************************************************************
67259
67249
  *
67260
67250
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -68886,6 +68876,31 @@ Object .assign (Object .setPrototypeOf (X3DPrototypeInstance .prototype, Core_X3
68886
68876
 
68887
68877
  this .realize ();
68888
68878
  },
68879
+ realize ()
68880
+ {
68881
+ const
68882
+ protoNode = this [_protoNode],
68883
+ proto = protoNode .getProtoDeclaration ();
68884
+
68885
+ if (protoNode .isExternProto && protoNode .checkLoadState () !== Base_X3DConstants .COMPLETE_STATE)
68886
+ return;
68887
+
68888
+ // Create execution context.
68889
+
68890
+ this [X3DPrototypeInstance_body] = new Execution_X3DExecutionContext (proto .getExecutionContext (), this);
68891
+
68892
+ // Copy proto.
68893
+
68894
+ this .importExternProtos (proto .getBody () .externprotos);
68895
+ this .importProtos (proto .getBody () .protos);
68896
+ this .copyRootNodes (proto .getBody () .rootNodes);
68897
+ this .importImportedNodes (proto .getBody () .importedNodes);
68898
+ this .copyRoutes (proto .getBody () .routes);
68899
+
68900
+ this [X3DPrototypeInstance_body] .setup ();
68901
+
68902
+ Base_X3DChildObject .prototype .addEvent .call (this);
68903
+ },
68889
68904
  construct ()
68890
68905
  {
68891
68906
  const
@@ -68960,31 +68975,6 @@ Object .assign (Object .setPrototypeOf (X3DPrototypeInstance .prototype, Core_X3
68960
68975
  protoNode ._updateInstances .removeInterest ("construct", this);
68961
68976
  protoNode ._updateInstances .addInterest ("update", this);
68962
68977
  },
68963
- realize ()
68964
- {
68965
- const
68966
- protoNode = this [_protoNode],
68967
- proto = protoNode .getProtoDeclaration ();
68968
-
68969
- if (protoNode .isExternProto && protoNode .checkLoadState () !== Base_X3DConstants .COMPLETE_STATE)
68970
- return;
68971
-
68972
- // Create execution context.
68973
-
68974
- this [X3DPrototypeInstance_body] = new Execution_X3DExecutionContext (proto .getExecutionContext (), this);
68975
-
68976
- // Copy proto.
68977
-
68978
- this .importExternProtos (proto .getBody () .externprotos);
68979
- this .importProtos (proto .getBody () .protos);
68980
- this .copyRootNodes (proto .getBody () .rootNodes);
68981
- this .importImportedNodes (proto .getBody () .importedNodes);
68982
- this .copyRoutes (proto .getBody () .routes);
68983
-
68984
- this [X3DPrototypeInstance_body] .setup ();
68985
-
68986
- Base_X3DChildObject .prototype .addEvent .call (this);
68987
- },
68988
68978
  update ()
68989
68979
  {
68990
68980
  // Remove old fields.
@@ -69366,16 +69356,24 @@ Object .assign (Object .setPrototypeOf (X3DPrototypeInstance .prototype, Core_X3
69366
69356
  }
69367
69357
  case Base_X3DConstants .SFNode:
69368
69358
  {
69369
- if (field .getValue () !== null)
69370
- {
69371
- generator .PushContainerField (null);
69359
+ generator .PushContainerField (null);
69372
69360
 
69373
- generator .string += generator .Indent ();
69374
- generator .string += "<fieldValue";
69361
+ generator .string += generator .Indent ();
69362
+ generator .string += "<fieldValue";
69363
+ generator .string += generator .Space ();
69364
+ generator .string += "name='";
69365
+ generator .string += generator .XMLEncode (field .getName ());
69366
+ generator .string += "'";
69367
+
69368
+ if (field .getValue () === null)
69369
+ {
69375
69370
  generator .string += generator .Space ();
69376
- generator .string += "name='";
69377
- generator .string += generator .XMLEncode (field .getName ());
69378
- generator .string += "'";
69371
+ generator .string += "value='null'";
69372
+ generator .string += generator .closingTags ? "></fieldValue>" : "/>";
69373
+ generator .string += generator .TidyBreak ();
69374
+ }
69375
+ else
69376
+ {
69379
69377
  generator .string += ">";
69380
69378
  generator .string += generator .TidyBreak ();
69381
69379
 
@@ -69390,12 +69388,10 @@ Object .assign (Object .setPrototypeOf (X3DPrototypeInstance .prototype, Core_X3
69390
69388
  generator .string += generator .Indent ();
69391
69389
  generator .string += "</fieldValue>";
69392
69390
  generator .string += generator .TidyBreak ();
69393
-
69394
- generator .PopContainerField ();
69395
- break;
69396
69391
  }
69397
69392
 
69398
- // Proceed with next case.
69393
+ generator .PopContainerField ();
69394
+ break;
69399
69395
  }
69400
69396
  default:
69401
69397
  {
@@ -76922,7 +76918,10 @@ Object .assign (Object .setPrototypeOf (X3DPointGeometryNode .prototype, Renderi
76922
76918
  attribBuffers = this .getAttribBuffers ();
76923
76919
 
76924
76920
  if (!renderContext .transparent)
76921
+ {
76925
76922
  gl .enable (gl .SAMPLE_ALPHA_TO_COVERAGE);
76923
+ gl .enable (gl .BLEND);
76924
+ }
76926
76925
 
76927
76926
  for (const node of renderModeNodes)
76928
76927
  node .enable (gl);
@@ -76962,7 +76961,11 @@ Object .assign (Object .setPrototypeOf (X3DPointGeometryNode .prototype, Renderi
76962
76961
  for (const node of renderModeNodes)
76963
76962
  node .disable (gl);
76964
76963
 
76965
- gl .disable (gl .SAMPLE_ALPHA_TO_COVERAGE);
76964
+ if (!renderContext .transparent)
76965
+ {
76966
+ gl .disable (gl .SAMPLE_ALPHA_TO_COVERAGE);
76967
+ gl .disable (gl .BLEND);
76968
+ }
76966
76969
  },
76967
76970
  displayInstanced (gl, renderContext, shapeNode)
76968
76971
  {
@@ -76974,7 +76977,10 @@ Object .assign (Object .setPrototypeOf (X3DPointGeometryNode .prototype, Renderi
76974
76977
  attribBuffers = this .getAttribBuffers ();
76975
76978
 
76976
76979
  if (!renderContext .transparent)
76980
+ {
76977
76981
  gl .enable (gl .SAMPLE_ALPHA_TO_COVERAGE);
76982
+ gl .enable (gl .BLEND);
76983
+ }
76978
76984
 
76979
76985
  for (const node of renderModeNodes)
76980
76986
  node .enable (gl);
@@ -77033,7 +77039,11 @@ Object .assign (Object .setPrototypeOf (X3DPointGeometryNode .prototype, Renderi
77033
77039
  for (const node of renderModeNodes)
77034
77040
  node .disable (gl);
77035
77041
 
77036
- gl .disable (gl .SAMPLE_ALPHA_TO_COVERAGE);
77042
+ if (!renderContext .transparent)
77043
+ {
77044
+ gl .disable (gl .SAMPLE_ALPHA_TO_COVERAGE);
77045
+ gl .disable (gl .BLEND);
77046
+ }
77037
77047
  },
77038
77048
  });
77039
77049
 
@@ -80126,13 +80136,16 @@ Object .assign (Object .setPrototypeOf (StaticGroup .prototype, Core_X3DChildNod
80126
80136
  },
80127
80137
  traverse (type, renderObject)
80128
80138
  {
80129
- this .visibleNodes ??= this .createStaticShapes (renderObject);
80139
+ if (!this .visibleNodes)
80140
+ this .createStaticShapes (renderObject);
80130
80141
 
80131
80142
  for (const visibleNode of this .visibleNodes)
80132
80143
  visibleNode .traverse (type, renderObject);
80133
80144
  },
80134
80145
  createStaticShapes (renderObject)
80135
80146
  {
80147
+ this .visibleNodes = [this .groupNode];
80148
+
80136
80149
  // Check if scene is currently loading something.
80137
80150
 
80138
80151
  const scene = this .getScene ();
@@ -80155,14 +80168,13 @@ Object .assign (Object .setPrototypeOf (StaticGroup .prototype, Core_X3DChildNod
80155
80168
 
80156
80169
  this .optimizeGroups (this .createGroups (renderObject));
80157
80170
  }
80158
-
80159
- return [this .groupNode];
80160
80171
  },
80161
80172
  createGroups: (() =>
80162
80173
  {
80163
- const Statics = ["Opaque", "Transparent"];
80164
-
80165
- const viewVolume = new Geometry_ViewVolume ();
80174
+ const
80175
+ Statics = ["Opaque", "Transparent"],
80176
+ viewVolume = new Geometry_ViewVolume (),
80177
+ style = { style: "CLEAN" };
80166
80178
 
80167
80179
  viewVolume .intersectsSphere = () => true;
80168
80180
 
@@ -80224,6 +80236,9 @@ Object .assign (Object .setPrototypeOf (StaticGroup .prototype, Core_X3DChildNod
80224
80236
  appearanceNode = shapeNode .getAppearance (),
80225
80237
  geometryNode = shapeNode .getGeometry ();
80226
80238
 
80239
+ if (!geometryNode .getVertices () .length)
80240
+ continue;
80241
+
80227
80242
  if (shapeNode .getShapeKey () > 0 || this .hasTextureCoordinateGenerator (geometryNode))
80228
80243
  {
80229
80244
  const group = singlesIndex [renderContext .modelViewMatrix] ??= [ ];
@@ -80234,8 +80249,6 @@ Object .assign (Object .setPrototypeOf (StaticGroup .prototype, Core_X3DChildNod
80234
80249
 
80235
80250
  let key = "";
80236
80251
 
80237
- key += appearanceNode .getId ();
80238
- key += ".";
80239
80252
  key += geometryNode .getGeometryType ();
80240
80253
  key += geometryNode .isSolid () ? 1 : 0;
80241
80254
  key += geometryNode .getFogDepths () .length ? 1 : 0;
@@ -80243,6 +80256,8 @@ Object .assign (Object .setPrototypeOf (StaticGroup .prototype, Core_X3DChildNod
80243
80256
  key += shapeNode ._pointerEvents .getValue () ? 1 : 0;
80244
80257
  key += shapeNode ._castShadow .getValue () ? 1 : 0;
80245
80258
  key += shapeNode ._bboxDisplay .getValue () ? 1 : 0;
80259
+ key += ".";
80260
+ key += appearanceNode .toVRMLString (style);
80246
80261
 
80247
80262
  const
80248
80263
  clones = clonesIndex .get (shapeNode),
@@ -86858,12 +86873,6 @@ Object .assign (Object .setPrototypeOf (Inline .prototype, Core_X3DChildNode .pr
86858
86873
 
86859
86874
  return bbox .set (this ._bboxSize .getValue (), this ._bboxCenter .getValue ());
86860
86875
  },
86861
- set_live__ ()
86862
- {
86863
- Networking_X3DUrlObject .prototype .set_live__ .call (this);
86864
-
86865
- this .scene .setLive (this .getLive () .getValue ());
86866
- },
86867
86876
  unloadData ()
86868
86877
  {
86869
86878
  this .abortLoading ();
@@ -86916,7 +86925,7 @@ Object .assign (Object .setPrototypeOf (Inline .prototype, Core_X3DChildNode .pr
86916
86925
  if (this .scene !== this .getBrowser () .getDefaultScene ())
86917
86926
  {
86918
86927
  this .scene .setExecutionContext (this .getExecutionContext ());
86919
- this .scene .setLive (this .getLive () .getValue ());
86928
+ this .scene .setLive (true);
86920
86929
  this .scene .rootNodes .addFieldInterest (this .groupNode ._children);
86921
86930
  this .groupNode ._children = this .scene .rootNodes;
86922
86931
  }
@@ -90542,7 +90551,7 @@ mediump samplerCube textureCube;
90542
90551
 
90543
90552
  /* harmony default export */ const MaterialTextures = (x_ite_Namespace .add ("MaterialTextures", MaterialTextures_default_));
90544
90553
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
90545
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(962);
90554
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(91);
90546
90555
  /*******************************************************************************
90547
90556
  *
90548
90557
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -92182,7 +92191,7 @@ Object .assign (Object .setPrototypeOf (ComposedShader .prototype, Shaders_X3DSh
92182
92191
 
92183
92192
  if (this ._parts .length)
92184
92193
  {
92185
- console .warn ("Couldn't initialize " + this .getTypeName () + " '" + this .getName () + "': " + gl .getProgramInfoLog (program));
92194
+ console .warn (`Couldn't initialize ${this .getTypeName ()} '${this .getName ()}': ${gl .getProgramInfoLog (program)}`);
92186
92195
  }
92187
92196
  }
92188
92197
  }
@@ -94758,13 +94767,13 @@ vec3 finalColor=vec3(0.0);
94758
94767
  #endif
94759
94768
  finalColor+=material.emissiveColor;return vec4(finalColor,diffuseColor.a);}void main(){vertex_main();
94760
94769
  #if defined(X3D_LIGHTING)
94761
- normal=normalize(normal);
94770
+ vec3 n=normalize(normal);
94762
94771
  #else
94763
- vec3 normal=vec3(0.0);
94772
+ vec3 n=vec3(0.0);
94764
94773
  #endif
94765
- frontColor=getMaterialColor(normal,vertex,x3d_Material);
94774
+ frontColor=getMaterialColor(n,vertex,x3d_Material);
94766
94775
  #if!defined(X3D_GEOMETRY_0D)&&!defined(X3D_GEOMETRY_1D)
94767
- backColor=getMaterialColor(-normal,vertex,x3d_Material);
94776
+ backColor=getMaterialColor(-n,vertex,x3d_Material);
94768
94777
  #endif
94769
94778
  }`
94770
94779
  ;
@@ -95800,7 +95809,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
95800
95809
 
95801
95810
  /* harmony default export */ const Shaders_ShaderCompiler = (x_ite_Namespace .add ("ShaderCompiler", ShaderCompiler_default_));
95802
95811
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
95803
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(962);
95812
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(91);
95804
95813
  /*******************************************************************************
95805
95814
  *
95806
95815
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -96398,7 +96407,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
96398
96407
 
96399
96408
  /* harmony default export */ const Shape_X3DAppearanceNode = (x_ite_Namespace .add ("X3DAppearanceNode", X3DAppearanceNode_default_));
96400
96409
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
96401
- /* provided dependency */ var Appearance_$ = __webpack_require__(962);
96410
+ /* provided dependency */ var Appearance_$ = __webpack_require__(91);
96402
96411
  /*******************************************************************************
96403
96412
  *
96404
96413
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -104633,8 +104642,8 @@ const GifMedia_default_ = GifMedia;
104633
104642
 
104634
104643
  /* harmony default export */ const Texturing_GifMedia = (x_ite_Namespace .add ("GifMedia", GifMedia_default_));
104635
104644
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
104636
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(962);
104637
- /* provided dependency */ var SuperGif = __webpack_require__(346);
104645
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(91);
104646
+ /* provided dependency */ var SuperGif = __webpack_require__(396);
104638
104647
  /*******************************************************************************
104639
104648
  *
104640
104649
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -107102,7 +107111,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
107102
107111
 
107103
107112
  /* harmony default export */ const gettext = (x_ite_Namespace .add ("gettext", gettext_default_));
107104
107113
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
107105
- /* provided dependency */ var BrowserTimings_$ = __webpack_require__(962);
107114
+ /* provided dependency */ var BrowserTimings_$ = __webpack_require__(91);
107106
107115
  /*******************************************************************************
107107
107116
  *
107108
107117
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -107732,7 +107741,7 @@ const TextCompression_default_ = TextCompression;
107732
107741
 
107733
107742
  /* harmony default export */ const Core_TextCompression = (x_ite_Namespace .add ("TextCompression", TextCompression_default_));
107734
107743
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
107735
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(962);
107744
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(91);
107736
107745
  /*******************************************************************************
107737
107746
  *
107738
107747
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -108379,7 +108388,7 @@ const RenderingProperties_default_ = RenderingProperties;
108379
108388
 
108380
108389
  /* harmony default export */ const Core_RenderingProperties = (x_ite_Namespace .add ("RenderingProperties", RenderingProperties_default_));
108381
108390
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
108382
- /* provided dependency */ var Notification_$ = __webpack_require__(962);
108391
+ /* provided dependency */ var Notification_$ = __webpack_require__(91);
108383
108392
  /*******************************************************************************
108384
108393
  *
108385
108394
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -108501,8 +108510,8 @@ const Notification_default_ = Notification;
108501
108510
 
108502
108511
  /* harmony default export */ const Core_Notification = (x_ite_Namespace .add ("Notification", Notification_default_));
108503
108512
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
108504
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(530);
108505
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(962);
108513
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(343);
108514
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(91);
108506
108515
  /*******************************************************************************
108507
108516
  *
108508
108517
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -110045,7 +110054,6 @@ function X3DScene (browser)
110045
110054
 
110046
110055
  this .addChildObjects (Base_X3DConstants .outputOnly, "profile_changed", new x_ite_Fields .SFTime (),
110047
110056
  Base_X3DConstants .outputOnly, "metadata_changed", new x_ite_Fields .SFTime (),
110048
- Base_X3DConstants .outputOnly, "initLoadCount", new x_ite_Fields .SFInt32 (),
110049
110057
  Base_X3DConstants .outputOnly, "loadCount", new x_ite_Fields .SFInt32 ())
110050
110058
 
110051
110059
  this [_specificationVersion] = LATEST_VERSION;
@@ -110973,14 +110981,6 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
110973
110981
  scene .addLoadingObject (object);
110974
110982
  }
110975
110983
  },
110976
- addInitLoadCount (node)
110977
- {
110978
- this ._initLoadCount = this ._initLoadCount .getValue () + 1;
110979
- },
110980
- removeInitLoadCount (node)
110981
- {
110982
- this ._initLoadCount = this ._initLoadCount .getValue () - 1;
110983
- },
110984
110984
  getLoadingObjects ()
110985
110985
  {
110986
110986
  return this [_loadingObjects];
@@ -111237,7 +111237,7 @@ const DataStorage_default_ = DataStorage;
111237
111237
 
111238
111238
  /* harmony default export */ const Utility_DataStorage = (x_ite_Namespace .add ("DataStorage", DataStorage_default_));
111239
111239
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
111240
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(962);
111240
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(91);
111241
111241
  /*******************************************************************************
111242
111242
  *
111243
111243
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -113848,8 +113848,8 @@ const X3DViewer_default_ = X3DViewer;
113848
113848
 
113849
113849
  /* harmony default export */ const Navigation_X3DViewer = (x_ite_Namespace .add ("X3DViewer", X3DViewer_default_));
113850
113850
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
113851
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(952);
113852
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(962);
113851
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(283);
113852
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(91);
113853
113853
  /*******************************************************************************
113854
113854
  *
113855
113855
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -114764,8 +114764,8 @@ const ExamineViewer_default_ = ExamineViewer;
114764
114764
 
114765
114765
  /* harmony default export */ const Navigation_ExamineViewer = (x_ite_Namespace .add ("ExamineViewer", ExamineViewer_default_));
114766
114766
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
114767
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(952);
114768
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(962);
114767
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(283);
114768
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(91);
114769
114769
  /*******************************************************************************
114770
114770
  *
114771
114771
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -115780,8 +115780,8 @@ const FlyViewer_default_ = FlyViewer;
115780
115780
 
115781
115781
  /* harmony default export */ const Navigation_FlyViewer = (x_ite_Namespace .add ("FlyViewer", FlyViewer_default_));
115782
115782
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
115783
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(952);
115784
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(962);
115783
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(283);
115784
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(91);
115785
115785
  /*******************************************************************************
115786
115786
  *
115787
115787
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116110,8 +116110,8 @@ const NoneViewer_default_ = NoneViewer;
116110
116110
 
116111
116111
  /* harmony default export */ const Navigation_NoneViewer = (x_ite_Namespace .add ("NoneViewer", NoneViewer_default_));
116112
116112
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
116113
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(952);
116114
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(962);
116113
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(283);
116114
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(91);
116115
116115
  /*******************************************************************************
116116
116116
  *
116117
116117
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117256,8 +117256,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
117256
117256
 
117257
117257
  /* harmony default export */ const Picking_X3DPickingContext = (x_ite_Namespace .add ("X3DPickingContext", X3DPickingContext_default_));
117258
117258
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
117259
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(952);
117260
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(962);
117259
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(283);
117260
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(91);
117261
117261
  /*******************************************************************************
117262
117262
  *
117263
117263
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -118704,7 +118704,7 @@ const Lock_default_ = Lock;
118704
118704
 
118705
118705
  /* harmony default export */ const Utility_Lock = (x_ite_Namespace .add ("Lock", Lock_default_));
118706
118706
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
118707
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(962);
118707
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(91);
118708
118708
  /*******************************************************************************
118709
118709
  *
118710
118710
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -119594,7 +119594,7 @@ Object .assign (X3DShadersContext .prototype,
119594
119594
  .set (gl .POINTS, gl .POINTS)
119595
119595
  .set (gl .LINES, gl .LINES)
119596
119596
  .set (gl .TRIANGLES, gl .TRIANGLES);
119597
-
119597
+
119598
119598
  break;
119599
119599
  }
119600
119600
  }
@@ -119613,7 +119613,7 @@ Object .assign (X3DShadersContext .prototype,
119613
119613
  version = gl .getVersion ();
119614
119614
 
119615
119615
  const vertexShader = new Shaders_ShaderPart (this .getPrivateScene ());
119616
- vertexShader ._url .push (encodeURI (vs .startsWith ("data:") ? vs : "data:x-shader/x-vertex," + Shaders_ShaderRegistry .vertex [version] [vs]));
119616
+ vertexShader ._url .push (encodeURI (vs .startsWith ("data:") ? vs : `data:x-shader/x-vertex,${Shaders_ShaderRegistry .vertex [version] [vs]}`));
119617
119617
  vertexShader .setPrivate (true);
119618
119618
  vertexShader .setName (`${name}VertexShader`);
119619
119619
  vertexShader .setOptions (options);
@@ -119621,7 +119621,7 @@ Object .assign (X3DShadersContext .prototype,
119621
119621
 
119622
119622
  const fragmentShader = new Shaders_ShaderPart (this .getPrivateScene ());
119623
119623
  fragmentShader ._type = "FRAGMENT";
119624
- fragmentShader ._url .push (encodeURI (fs .startsWith ("data:") ? fs : "data:x-shader/x-fragment," + Shaders_ShaderRegistry .fragment [version] [fs]));
119624
+ fragmentShader ._url .push (encodeURI (fs .startsWith ("data:") ? fs : `data:x-shader/x-fragment,${Shaders_ShaderRegistry .fragment [version] [fs]}`));
119625
119625
  fragmentShader .setPrivate (true);
119626
119626
  fragmentShader .setName (`${name}FragmentShader`);
119627
119627
  fragmentShader .setOptions (options);
@@ -120027,7 +120027,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
120027
120027
 
120028
120028
  /* harmony default export */ const Sound_X3DSoundContext = (x_ite_Namespace .add ("X3DSoundContext", X3DSoundContext_default_));
120029
120029
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
120030
- /* provided dependency */ var KTXDecoder_$ = __webpack_require__(962);
120030
+ /* provided dependency */ var KTXDecoder_$ = __webpack_require__(91);
120031
120031
  const KTXDecoder_default_ = class KTXDecoder
120032
120032
  {
120033
120033
  constructor (gl, externalKtxlib, scriptDir)
@@ -121258,6 +121258,8 @@ Object .assign (Object .setPrototypeOf (X3DBrowserContext .prototype, Base_X3DBa
121258
121258
  },
121259
121259
  setExecutionContext (executionContext)
121260
121260
  {
121261
+ this .getDefaultScene () .setExecutionContext (executionContext);
121262
+
121261
121263
  this [_world] = new Execution_X3DWorld (executionContext);
121262
121264
  this [_world] .setup ();
121263
121265
  },
@@ -121604,7 +121606,7 @@ const Components_default_ = Components;
121604
121606
 
121605
121607
  /* harmony default export */ const x_ite_Components = (x_ite_Namespace .add ("Components", Components_default_));
121606
121608
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
121607
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(962);
121609
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(91);
121608
121610
  /*******************************************************************************
121609
121611
  * MIT License
121610
121612
  *
@@ -122870,7 +122872,7 @@ const FieldTypes_default_ = new Configuration_FieldTypesArray (Object .values (x
122870
122872
 
122871
122873
  /* harmony default export */ const FieldTypes = (x_ite_Namespace .add ("FieldTypes", FieldTypes_default_));
122872
122874
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
122873
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(962);
122875
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(91);
122874
122876
  /*******************************************************************************
122875
122877
  *
122876
122878
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -123937,7 +123939,7 @@ const X3DBrowser_default_ = X3DBrowser;
123937
123939
 
123938
123940
  /* harmony default export */ const Browser_X3DBrowser = (x_ite_Namespace .add ("X3DBrowser", X3DBrowser_default_));
123939
123941
  ;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
123940
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(962);
123942
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(91);
123941
123943
  /*******************************************************************************
123942
123944
  *
123943
123945
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -124204,8 +124206,8 @@ const QuickSort_default_ = QuickSort;
124204
124206
 
124205
124207
  /* harmony default export */ const Algorithms_QuickSort = (x_ite_Namespace .add ("QuickSort", QuickSort_default_));
124206
124208
  ;// CONCATENATED MODULE: ./src/lib/jquery.js
124207
- /* provided dependency */ var jquery_$ = __webpack_require__(962);
124208
- /* provided dependency */ var pako = __webpack_require__(58);
124209
+ /* provided dependency */ var jquery_$ = __webpack_require__(91);
124210
+ /* provided dependency */ var pako = __webpack_require__(483);
124209
124211
  Object .assign (jquery_$,
124210
124212
  {
124211
124213
  decodeText (input)
@@ -124282,13 +124284,13 @@ const jquery_default_ = jquery_$;
124282
124284
 
124283
124285
  /* harmony default export */ const jquery = (x_ite_Namespace .add ("jquery", jquery_default_));
124284
124286
  ;// CONCATENATED MODULE: ./src/lib/libtess.js
124285
- /* provided dependency */ var libtess_libtess = __webpack_require__(459);
124287
+ /* provided dependency */ var libtess_libtess = __webpack_require__(744);
124286
124288
  const libtess_default_ = libtess_libtess;
124287
124289
  ;
124288
124290
 
124289
124291
  /* harmony default export */ const lib_libtess = (x_ite_Namespace .add ("libtess", libtess_default_));
124290
124292
  ;// CONCATENATED MODULE: ./src/x_ite/X3D.js
124291
- /* provided dependency */ var X3D_$ = __webpack_require__(962);
124293
+ /* provided dependency */ var X3D_$ = __webpack_require__(91);
124292
124294
  /*******************************************************************************
124293
124295
  *
124294
124296
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -124592,7 +124594,7 @@ x_ite_Namespace, x_ite_Namespace .Fields,
124592
124594
 
124593
124595
  // Assign X3D to global namespace.
124594
124596
 
124595
- window [Symbol .for ("X_ITE.X3D-10.5.1")] = x_ite_X3D;
124597
+ window [Symbol .for ("X_ITE.X3D-10.5.2")] = x_ite_X3D;
124596
124598
 
124597
124599
  customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
124598
124600