From 48b2f1f7c4ee3b957970426abbae6138f8e6f390 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sat, 4 May 2019 11:42:54 -0700 Subject: GLTF Loader: fixed couple of issues with animation --- AssetLoader/interface/GLTFLoader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AssetLoader/interface') diff --git a/AssetLoader/interface/GLTFLoader.h b/AssetLoader/interface/GLTFLoader.h index f7d9de9..fce68a6 100644 --- a/AssetLoader/interface/GLTFLoader.h +++ b/AssetLoader/interface/GLTFLoader.h @@ -171,7 +171,7 @@ struct Node float4x4 Matrix; std::unique_ptr Mesh; Skin* Skin = nullptr; - Uint32 SkinIndex = static_cast(-1); + Int32 SkinIndex = -1; float3 Translation; float3 Scale = float3(1.0f, 1.0f, 1.0f); Quaternion Rotation; -- cgit v1.2.3