This commit is contained in:
Lars Mueller 2024-06-13 00:29:32 +02:00
parent 87750834ba
commit d9a37a2e7e
4 changed files with 2 additions and 2 deletions

@ -25,7 +25,7 @@ register_entity("spider", {"gltf_spider.png"})
minetest.register_entity("gltf:spider_animated", {
initial_properties = {
visual = "mesh",
mesh = "spider_animated.gltf",
mesh = "gltf_spider_animated.gltf",
textures = {"gltf_spider.png"},
},
on_activate = function(self)

@ -370,7 +370,7 @@ SECTION("simple sparse accessor")
SECTION("simple skin")
{
using CSkinnedMesh = irr::scene::CSkinnedMesh;
const auto mesh = loadMesh(model_path + "simple_skin.gltf");
const auto mesh = loadMesh(model_stem + "simple_skin.gltf");
REQUIRE(mesh != nullptr);
auto csm = dynamic_cast<const CSkinnedMesh*>(mesh);
const auto joints = csm->getAllJoints();