summaryrefslogtreecommitdiffstats
path: root/AssetLoader/interface
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-05-04 18:42:54 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-05-04 18:42:54 +0000
commit48b2f1f7c4ee3b957970426abbae6138f8e6f390 (patch)
treee8f9e7953cc0dd0af09b8a040ee5a87529a58c87 /AssetLoader/interface
parentGLTF loader: fixed loading specular factor (diff)
downloadDiligentTools-48b2f1f7c4ee3b957970426abbae6138f8e6f390.tar.gz
DiligentTools-48b2f1f7c4ee3b957970426abbae6138f8e6f390.zip
GLTF Loader: fixed couple of issues with animation
Diffstat (limited to 'AssetLoader/interface')
-rw-r--r--AssetLoader/interface/GLTFLoader.h2
1 files changed, 1 insertions, 1 deletions
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> Mesh;
Skin* Skin = nullptr;
- Uint32 SkinIndex = static_cast<Uint32>(-1);
+ Int32 SkinIndex = -1;
float3 Translation;
float3 Scale = float3(1.0f, 1.0f, 1.0f);
Quaternion Rotation;