mirror of
https://github.com/minetest/minetest.git
synced 2024-07-04 15:05:27 +02:00
fix
This commit is contained in:
parent
87750834ba
commit
d9a37a2e7e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user