Commit 9e461bd
Fix list serialization for Double, Short, and Byte types
Add missing TYPE_DOUBLE, TYPE_SHORT, and TYPE_BYTE cases to readList method in UserData.java. These types were already handled in writeList but not in readList, causing deserialization to fail for lists containing these types. Also enable testLists in JmeExporterTest to verify the fix.
Co-authored-by: riccardobl <4943530+riccardobl@users.noreply.github.com>1 parent d02e570 commit 9e461bd
2 files changed
Lines changed: 10 additions & 1 deletion
File tree
- jme3-core/src/main/java/com/jme3/scene
- jme3-plugins/src/test/java/com/jme3/export
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
358 | 367 | | |
359 | 368 | | |
360 | 369 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
0 commit comments