Skip to content

Commit

Permalink
Restore .x models to working state (luanti-org#15550)
Browse files Browse the repository at this point in the history
* Add "lava flan" (.x model) smoke test

* Fix double finalize in `.x` mesh loader

* Use reserve instead of resize again

The weights are added indirectly via `AnimatedMesh->addWeight`
  • Loading branch information
appgurueu authored Dec 18, 2024
1 parent f99a1a7 commit a37bdbf
Show file tree
Hide file tree
Showing 6 changed files with 3,535 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
*.h diff=cpp

*.gltf binary
*.x binary
8 changes: 8 additions & 0 deletions games/devtest/mods/testentities/models/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
"Minetest Sam":

Original model by MirceaKitsune (CC BY-SA 3.0).
Various alterations and fixes by kilbith, sofar, xunto, Rogier-5, TeTpaAka, Desour,
stujones11, An0n3m0us (CC BY-SA 3.0):
testentities_sam.b3d

Jordach (CC BY-SA 3.0):
testentities_sam.png

"Lava Flan":

Zeg9 (CC BY-SA 3.0):
testentities_lava_flan.x
testentities_lava_flan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit a37bdbf

Please sign in to comment.