Skip to content

Commit 5ad4c33

Browse files
author
Babylon.js Platform
committed
Version update 8.22.2
1 parent 7f986dc commit 5ad4c33

File tree

42 files changed

+245
-185
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+245
-185
lines changed

.build/changelog.json

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,57 @@
11
{
2-
"fromTag": "8.22.0",
2+
"fromTag": "8.22.1",
33
"changelog": {
4+
"8.22.2": [
5+
{
6+
"pr": "16997",
7+
"title": "Update GUI control to be forgiving of text resizeToFit layout calculations",
8+
"description": "Control.ts expects less than 3 layouts to occur but textBlock.ts will layout 3 times when resizeToFit is true -- this is because isDirty is set to true causing a recreation of fontOffset (even if font offset has the proper height) and thus fontOffset.height is getting recalculated to the old value We should fix the logic so that fontOffset retains the updated height value. Until then, upping the layout cycle detection error threshold\r\n\r\nRelayout 1: NewHeight 106, InternalHeight 187 --> updates internal height to be new height unnecessarily since the internalheight is valid \r\nRelayout 2: NewHeight 187, InternalHeight 106 \r\nRelayout 3: Both 187 --> exit loop (but at this point we're already at 3) \r\n<img width=\"236\" height=\"39\" alt=\"image\" src=\"https://github.com/user-attachments/assets/2e2508c5-377e-42d1-be79-0a3d15d50529\" />\r\n\r\nSee https://forum.babylonjs.com/t/jumping-text-with-resizetofit-false/59949 for more details\r\n",
9+
"author": {
10+
"name": "georginahalpern",
11+
"url": "https://github.com/georginahalpern"
12+
},
13+
"files": [
14+
"packages/dev/gui/src/2D/controls/control.ts"
15+
],
16+
"tags": []
17+
},
18+
{
19+
"pr": "16999",
20+
"title": "Npe update age",
21+
"description": null,
22+
"author": {
23+
"name": "deltakosh",
24+
"url": "https://github.com/deltakosh"
25+
},
26+
"files": [
27+
".build/config.json",
28+
"packages/dev/core/src/Particles/Node/Blocks/Update/updateAgeBlock.ts",
29+
"packages/dev/core/src/Particles/Node/Blocks/index.ts",
30+
"packages/tools/nodeParticleEditor/src/blockTools.ts",
31+
"packages/tools/nodeParticleEditor/src/components/nodeList/nodeListComponent.tsx",
32+
"packages/tools/nodeParticleEditor/src/graphSystem/registerToDisplayLedger.ts"
33+
],
34+
"tags": [
35+
"skip changelog",
36+
"npe"
37+
]
38+
},
39+
{
40+
"pr": "16996",
41+
"title": "Remove unnecessary BBox computation",
42+
"description": "Discussion:\r\nhttps://forum.babylonjs.com/t/instancedmesh-duplicated-call-to-refreshboundinginfo-in-clone/59939\r\n\r\nMy analysis:\r\n- The createInstance already calls the bbox computation\r\n- The DeepClone does not affect properties related to BBox\r\n",
43+
"author": {
44+
"name": "deltakosh",
45+
"url": "https://github.com/deltakosh"
46+
},
47+
"files": [
48+
"packages/dev/core/src/Meshes/instancedMesh.ts"
49+
],
50+
"tags": [
51+
"skip changelog"
52+
]
53+
}
54+
],
455
"8.22.1": [
556
{
657
"pr": "16992",

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 8.22.2
4+
5+
### Core
6+
7+
8+
### GUI
9+
10+
- Update GUI control to be forgiving of text resizeToFit layout calculations - by [georginahalpern](https://github.com/georginahalpern) ([#16997](https://github.com/BabylonJS/Babylon.js/pull/16997))
11+
312
## 8.22.1
413

514
### Core

0 commit comments

Comments
 (0)