Skip to content

Commit 33e16b7

Browse files
author
Babylon.js Platform
committed
Version update 8.23.1
1 parent 06e8add commit 33e16b7

File tree

42 files changed

+299
-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

+299
-185
lines changed

.build/changelog.json

Lines changed: 106 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,111 @@
11
{
2-
"fromTag": "8.22.3",
2+
"fromTag": "8.23.0",
33
"changelog": {
4+
"8.23.1": [
5+
{
6+
"pr": "17029",
7+
"title": "ESLint: Add custom rule to detect cross package imports",
8+
"description": "This has come up a few times recently, where despite our best efforts to configure VSCode quick fixes, it can still end up adding cross package relative imports, which cause build and/or runtime errors that are hard to understand and diagnose. This change introduces a new custom ESLint plugin (thanks Claude!) that detects when this happens and uses the path mappings from our tsconfig.json to suggest a corrected import:\r\n\r\n<img width=\"818\" height=\"130\" alt=\"image\" src=\"https://github.com/user-attachments/assets/b1db607e-4f50-4e43-94f2-3471e6a558eb\" />\r\n\r\n<img width=\"745\" height=\"304\" alt=\"image\" src=\"https://github.com/user-attachments/assets/7ace3e76-479f-46e1-93e4-7d463a852d3f\" />\r\n\r\n<img width=\"436\" height=\"93\" alt=\"image\" src=\"https://github.com/user-attachments/assets/637cfae9-e7cc-4c2d-9740-21aa43b57a75\" />\r\n",
9+
"author": {
10+
"name": "ryantrem",
11+
"url": "https://github.com/ryantrem"
12+
},
13+
"files": [
14+
".eslintrc.js",
15+
"packages/tools/eslintBabylonPlugin/src/index.ts"
16+
],
17+
"tags": []
18+
},
19+
{
20+
"pr": "17027",
21+
"title": "Fix color being overwritten by Createparticle",
22+
"description": null,
23+
"author": {
24+
"name": "deltakosh",
25+
"url": "https://github.com/deltakosh"
26+
},
27+
"files": [
28+
".build/config.json",
29+
"packages/dev/core/src/Particles/Node/Blocks/Emitters/createParticleBlock.ts",
30+
"packages/dev/core/src/Particles/Node/Blocks/Emitters/meshShapeBlock.ts",
31+
"packages/dev/core/src/Particles/Node/Blocks/particleInputBlock.ts",
32+
"packages/dev/core/src/Particles/Node/Enums/nodeParticleContextualSources.ts",
33+
"packages/dev/core/src/Particles/Node/nodeParticleBuildState.ts",
34+
"packages/tools/nodeParticleEditor/src/blockTools.ts",
35+
"packages/tools/nodeParticleEditor/src/components/nodeList/nodeListComponent.tsx",
36+
"packages/tools/nodeParticleEditor/src/graphSystem/display/inputDisplayManager.ts",
37+
"packages/tools/nodeParticleEditor/src/graphSystem/properties/inputNodePropertyComponent.tsx",
38+
"packages/tools/nodeParticleEditor/src/graphSystem/registerToDisplayLedger.ts"
39+
],
40+
"tags": [
41+
"skip changelog",
42+
"npe"
43+
]
44+
},
45+
{
46+
"pr": "17024",
47+
"title": "Inspector v2: Scene Explorer expand/collapse all",
48+
"description": "This change brings expand/collapse all to scene explorer.\r\n- Previously there was a single useMemo that traversed the expanded part of the scene and created TreeItemData only for the expanded nodes. I've broken this out now into two different useMemos. The first one creates TreeItemData for *all* entities, and the second one filters down those TreeItemData into only those that are expanded/visible. I'd already been thinking about reworking it like this for other reasons as it simplifies a lot of things. As part of this, I was able to simplify the interface a scene explorer section in that it no longer needs to provide a predicate or a function to get the parent (which can now be inferred from the internal TreeItemData tree structure).\r\n- Removed the unnecessary type param from all the scene explorer command interfaces and components. This was needed when a command instance was not tied to a specific entity instance, but now they are 1:1, so there is no need to pass an entity into a command instance (it holds it internally). This is just cleanup that I missed in previous changes.\r\n- Expand/collapse all can be triggered in a similar way as inspector v1 by holding down shift (or ctrl) when clicking the expand/collapse button on a tree node. I also added explicit context menus to help make it more discoverable. I did not make the context menus extensible in this PR, but may in a future change if we think it makes sense to be able to add in more items to the context menu dynamically.\r\n- Also updated to the virtualizer that is no longer in preview state. It is part of the fluent contrib package family, which is analogous to Babylon's Addons package.\r\n\r\n<img width=\"374\" height=\"395\" alt=\"image\" src=\"https://github.com/user-attachments/assets/386244a1-f521-47e1-beee-d4cea7d32426\" />\r\n\r\n",
49+
"author": {
50+
"name": "ryantrem",
51+
"url": "https://github.com/ryantrem"
52+
},
53+
"files": [
54+
"package-lock.json",
55+
"packages/dev/inspector-v2/package.json",
56+
"packages/dev/inspector-v2/src/components/scene/sceneExplorer.tsx",
57+
"packages/dev/inspector-v2/src/misc/graphUtils.ts",
58+
"packages/dev/inspector-v2/src/services/panes/scene/animationGroupExplorerService.tsx",
59+
"packages/dev/inspector-v2/src/services/panes/scene/effectLayersExplorerService.tsx",
60+
"packages/dev/inspector-v2/src/services/panes/scene/frameGraphExplorerService.tsx",
61+
"packages/dev/inspector-v2/src/services/panes/scene/guiExplorerService.tsx",
62+
"packages/dev/inspector-v2/src/services/panes/scene/materialExplorerService.tsx",
63+
"packages/dev/inspector-v2/src/services/panes/scene/nodeExplorerService.tsx",
64+
"packages/dev/inspector-v2/src/services/panes/scene/particleSystemExplorerService.tsx",
65+
"packages/dev/inspector-v2/src/services/panes/scene/postProcessExplorerService.tsx",
66+
"packages/dev/inspector-v2/src/services/panes/scene/renderingPipelinesExplorerService.tsx",
67+
"packages/dev/inspector-v2/src/services/panes/scene/skeletonExplorerService.tsx",
68+
"packages/dev/inspector-v2/src/services/panes/scene/spriteManagerExplorerService.tsx",
69+
"packages/dev/inspector-v2/src/services/panes/scene/texturesExplorerService.tsx"
70+
],
71+
"tags": [
72+
"inspector"
73+
]
74+
},
75+
{
76+
"pr": "17030",
77+
"title": "Fix RenderNinePatch bug in GUI image",
78+
"description": "See [this ](https://forum.babylonjs.com/t/render-nine-patch-bug-fix/60043/7 )forum post as well as [this first PR ](https://github.com/BabylonJS/Babylon.js/pull/17018)attempt to fix, followed by [this final PR](https://github.com/BabylonJS/Babylon.js/pull/17028) where we solved the correct fix \r\n\r\n<img width=\"1051\" height=\"393\" alt=\"image\" src=\"https://github.com/user-attachments/assets/7cb96b4b-54fb-46a1-929c-746407bdcdd1\" />\r\n\r\nI didn't have permissions to push to @MackeyK24 's branch so creating a new PR, thank you @MackeyK24 for raising the issue and finding the fix! ",
79+
"author": {
80+
"name": "georginahalpern",
81+
"url": "https://github.com/georginahalpern"
82+
},
83+
"files": [
84+
"packages/dev/gui/src/2D/controls/image.ts"
85+
],
86+
"tags": [
87+
"bug",
88+
"gui",
89+
"skip changelog"
90+
]
91+
},
92+
{
93+
"pr": "17025",
94+
"title": "Add metadata to Skeleton, MorphTargetManager, and ParticleSystem",
95+
"description": "Currently nodes, materials, textures, and bones come with metadata, where user can put custom info about the object and can be serialized with it. But in case of `Skeleton`, `MorphTargetManager`, and `ParticleSystem`, there does not seem to be a metadata there. This commit adds a metadata field to `Skeleton`, `MorphTargetManager`, and `ParticleSystem`, and preserved it in `serialize()`, `Parse()`, and `clone()`.\r\n\r\nForum post: <https://forum.babylonjs.com/t/is-there-metadata-for-skeleton/60036>",
96+
"author": {
97+
"name": "kzhsw",
98+
"url": "https://github.com/kzhsw"
99+
},
100+
"files": [
101+
"packages/dev/core/src/Bones/skeleton.ts",
102+
"packages/dev/core/src/Morph/morphTargetManager.ts",
103+
"packages/dev/core/src/Particles/gpuParticleSystem.ts",
104+
"packages/dev/core/src/Particles/particleSystem.ts"
105+
],
106+
"tags": []
107+
}
108+
],
4109
"8.23.0": [
5110
{
6111
"pr": "17020",

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.23.1
4+
5+
### Core
6+
7+
- Add metadata to Skeleton, MorphTargetManager, and ParticleSystem - by [kzhsw](https://github.com/kzhsw) ([#17025](https://github.com/BabylonJS/Babylon.js/pull/17025))
8+
9+
### GUI
10+
11+
312
## 8.23.0
413

514
### Core

0 commit comments

Comments
 (0)