@woosh/meep-engine 2.34.19 → 2.34.20

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.
@@ -513,7 +513,13 @@ export async function merge_patches(
513
513
  return 0;
514
514
  } else if (node_count === 1) {
515
515
  // only 1 patch, no merge opportunity, forward it to output directly
516
- output[output_offset.value++] = nodes[0];
516
+ const node = nodes[0];
517
+
518
+ //set group bounds to produce a valid root
519
+ node.group_aabb.copy(node.bounding_box);
520
+ node.group_bounding_sphere.set(node.bounding_sphere);
521
+
522
+ output[output_offset.value++] = node;
517
523
  return 1;
518
524
  } else {
519
525
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "productName": "Meep",
6
6
  "description": "production-ready JavaScript game engine based on Entity Component System Architecture",
7
7
  "author": "Alexander Goldring",
8
- "version": "2.34.19",
8
+ "version": "2.34.20",
9
9
  "dependencies": {
10
10
  "gl-matrix": "3.4.3",
11
11
  "fast-levenshtein": "2.0.6",